document.write( "Question 898420: Wilma drove at an average speed of 40 mi/h from her home in City A to visit her sister in City B. She stayed in City B 10 hours, and on the trip back averaged 35 mi/h. She returned home 40 hours after leaving. How many miles is City A from City B.
\n" ); document.write( "Other info:
\n" ); document.write( "The solution cannot be calculated using the formula that already exists to find distances using time and speed.
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #544844 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Wilma had \"+40+-+10+=+30+\" actual
\n" ); document.write( "hours of driving time
\n" ); document.write( "Let \"+t+\" = time in hrs for her to
\n" ); document.write( "drive from A to B
\n" ); document.write( "\"+30+-+t+\" = time in hrs for her to
\n" ); document.write( "drive from B to A
\n" ); document.write( "Let \"+d+\" = one-way distance from A to B
\n" ); document.write( "-------------------------------------
\n" ); document.write( "Equation for A to B:
\n" ); document.write( "\"+d+=+40t+\"
\n" ); document.write( "Equation for B to A
\n" ); document.write( "\"+d+=+35%2A%28+30+-+t+%29+\"
\n" ); document.write( "---------------------
\n" ); document.write( "By substitution:
\n" ); document.write( "\"+40t+=+35%2A%28+30+-+t+%29+\"
\n" ); document.write( "\"+40t+=+1050+-+35t+\"
\n" ); document.write( "\"+75t+=+1050+\"
\n" ); document.write( "\"+t+=+14+\"
\n" ); document.write( "and
\n" ); document.write( "\"+30+-+t+=+16+\"
\n" ); document.write( "-----------------
\n" ); document.write( "\"+d+=+40t+\"
\n" ); document.write( "\"+d+=+40%2A14+\"
\n" ); document.write( "\"+d+=+560+\"
\n" ); document.write( "-----------------
\n" ); document.write( "City A is 560 miles from City B
\n" ); document.write( "-----------------
\n" ); document.write( "check:
\n" ); document.write( "\"+d+=+35%2A%28+30+-+t+%29+\"
\n" ); document.write( "\"+560+=+35%2A%28+30+-+14+%29+\"
\n" ); document.write( "\"+560+=+35%2A16+\"
\n" ); document.write( "\"+560+=+560+\"
\n" ); document.write( "OK\r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );