document.write( "Question 551178: The horse galloped m miles at p miles per hour and then trotted m miles at k miles per hour. What was the average speed for the entire trip? \n" ); document.write( "
Algebra.Com's Answer #359502 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
The horse galloped m miles at p miles per hour and then trotted m miles at k miles per hour.
\n" ); document.write( " What was the average speed for the entire trip?
\n" ); document.write( ":
\n" ); document.write( "let a = the average speed of the entire trip
\n" ); document.write( ":
\n" ); document.write( "\"m%2Fp\" + \"m%2Fk\" = \"%282m%29%2Fa\"
\n" ); document.write( ":
\n" ); document.write( "\"%28mk%2Bmp%29%2F%28pk%29\" = \"%282m%29%2Fa\"
\n" ); document.write( "Cross multiply
\n" ); document.write( "a(mk+mp) = (pk*2m)
\n" ); document.write( "a = \"%28%282pkm%29%29%2F%28%28mk%2Bmp%29%29\"
\n" ); document.write( "cancel out m
\n" ); document.write( "a = \"%28%282pk%29%29%2F%28%28k%2Bp%29%29\" the average speed for the entire trip
\n" ); document.write( "
\n" ); document.write( "
\n" );