You can
put this solution on YOUR website!Let t = time to the friends house.
Since d = s *t, 30*t = distance to the friend's house.
and 20*(t+1) = the distance back from the friend's house.
SO: 30*t = 20*(t+1)
30*t = 20*t + 20
10*t = 20
t = 2 (hours).
Since Dave averaged 30 miles per hour, it is 30*2 miles to his friend's house or 60 miles.
(Check: Averaging 20 mph would take 60 / 20 or 3 hours - that's 1 hour longer.)