Dog walks 45 miles to get home