Suppose a family drives at an average rate of 60 miles an hour on the way to visit relatives and then at rate of 40 miles an hou
r on the way back. The return trip takes 1 hour longer than the trip there. Let D be the distance in miles the family traveled. How many hours did it take to drive there?