TOM traveled the entire 80 miles trip. If he did the first 30 miles of at a constant rate 30 miles per hour and the remaining trip of at a constant rate 50 miles per hour, what is the his average speed, in miles per hour?  Choose the correct option.
A) 55 mph  B) 50 mph  C) 40 mph  D) 60 mph  E) 70 mph
avg speed = total distance/ total time = (d1+d2)/(t1+t2) = (30+50) / ((30/30)+(50/50)) = 80/2= 
<gadget id="calculator">80/2</gadget>
<output>40</output>
40mph   40 mph
<result>C</result>
TOM traveled the entire 80 miles trip. If he did the first 30 miles of at a constant rate 30 miles per hour and the remaining trip of at a constant rate 50 miles per hour, what is the his average speed, in miles per hour?