document.write( "Question 256189: A bus traveling at an average rate of 30 miles per hour left the city at 10:00 am. A car left 2 hours later, following the bus at 45 miles per hour. How many hours until they are both the same distance from the city? \n" ); document.write( "
Algebra.Com's Answer #188405 by checkley77(12844)\"\" \"About 
You can put this solution on YOUR website!
d=rt
\n" ); document.write( "d=30t for the bus.
\n" ); document.write( "d=45(t-2) for the car.
\n" ); document.write( "Set the distances equal.
\n" ); document.write( "30t=45(t-2)
\n" ); document.write( "30t=45t-90
\n" ); document.write( "30t-45t=-90
\n" ); document.write( "-15t=-90
\n" ); document.write( "t=-90/-15
\n" ); document.write( "t=6 hours after the bus leaves they will be the same distance from the city.
\n" ); document.write( "Proof:
\n" ); document.write( "30*6=45(6-2)
\n" ); document.write( "180=45*4
\n" ); document.write( "180=180 miles from the city after 6 hours.
\n" ); document.write( "
\n" );