On the return trip from the beach, you pedal hard for the first ten minutes and cover 4 miles. Tired, you slow down and cover the last 6 miles in 36 minutes. What is your average speed for the return trip?