5mi/1h
4mi/1h
= 9mi/2h
3hrs + 9hrs = 12hours
For every 2hours, he covered a distance of 9miles.
Now for 12 hours, how many distance in miles does he covered?
How many 2 hours in 12 hours?
That is 12/2 = 6
How many 9 miles are there in 6 hours?
That is 9 * 6 = 54
So therefore, he covered 54 miles.