document.write( "Question 895513: Starting at home, Emily traveled uphill to the grocery store for 20 minutes at just 6 mph. She then traveled back home along the same path downhill at a speed of 12 mph.\r
\n" ); document.write( "\n" ); document.write( "What is her average speed for the entire trip from home to the grocery store and back?
\n" ); document.write( "

Algebra.Com's Answer #542886 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Average speed is always:
\n" ); document.write( "( total distance traveled ) / ( total time spent traveling )
\n" ); document.write( "Let \"+d+\" = the one-way distance to the store
\n" ); document.write( "------------------------
\n" ); document.write( "From home to store:
\n" ); document.write( "\"+d+=+6%2A%28+20%2F60+%29+\"
\n" ); document.write( "\"+d+=+6%2A%28+1%2F3+%29+\"
\n" ); document.write( "\"+d+=+2+\" mi
\n" ); document.write( "( note that I converted minutes to hours )
\n" ); document.write( "------------------------------------
\n" ); document.write( "Let \"+t+\" = time in hours to get home
\n" ); document.write( "From store to home:
\n" ); document.write( "\"+d+=+12t+\"
\n" ); document.write( "\"+2+=+12t+\"
\n" ); document.write( "\"+t+=+1%2F6+\" hr
\n" ); document.write( "------------------
\n" ); document.write( "Her average speed is:
\n" ); document.write( "\"+%28+2+%2B+2+%29+%2F+%28+1%2F3+%2B+1%2F6+%29+\"
\n" ); document.write( "\"+4+%2F+%28+2%2F6+%2B+1%2F6+%29+\"
\n" ); document.write( "\"+4+%2F+%28+3%2F6+%29+\"
\n" ); document.write( "\"+4+%2F+%28+1%2F2+%29+=+8+\" mi/hr\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );