document.write( "Question 884300: Joe and Louis are making a drive from San Diego to Salt Lake City. After 4 hours of driving, they are 507 miles from Salt Lake City. Eight hours into their trip, they are only 267 miles away from their destination. Assume they averaged the same speed for the entire trip.\r
\n" ); document.write( "\n" ); document.write( "To write the expression, define a variable for the time they have been driving and use this variable to write an expression for the distance they are from Salt Lake City.\r
\n" ); document.write( "\n" ); document.write( "I need an expression for y = mx = b
\n" ); document.write( "

Algebra.Com's Answer #534161 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
\"+y+=+m%2Ax+%2B+b+\"
\n" ); document.write( "The slope will be their average speed, \"+s+\"
\n" ); document.write( "Let \"+d+\" = the distance from Salt Lake City
\n" ); document.write( "\"+d%5B1%5D+\" = the distance they have already traveled
\n" ); document.write( "The equation looks like:
\n" ); document.write( "\"+d+=+s%2At+%2B+d%5B1%5D+\"
\n" ); document.write( "Set \"+t+=+0+\" to find \"+d%5B1%5D+\"
\n" ); document.write( "\"+d%5B1%5D+=+507++\"
\n" ); document.write( "--------------------
\n" ); document.write( "Between 8 hrs and 4 hrs of driving, they have been
\n" ); document.write( "driving 4 hrs and have traveled \"+507+-+267+=+240+\" mi
\n" ); document.write( "\"+s+=+240%2F4+\"
\n" ); document.write( "\"+s+=+60+\"
\n" ); document.write( "------------
\n" ); document.write( "I come up with:
\n" ); document.write( "\"+d+=+-60t+%2B+507+\"
\n" ); document.write( "--------------------
\n" ); document.write( "I made the slope negative because \"+d+\" has to get smaller
\n" ); document.write( "as \"+t+\" increases
\n" ); document.write( "Here's a plot:
\n" ); document.write( "\"+graph%28+400%2C+400%2C+-1%2C+10%2C+-50%2C+600%2C+-60x+%2B+507+%29+\"
\n" ); document.write( "It looks like they get to Salt Lake City about 8.5 hrs since they
\n" ); document.write( "were 507 miles away ( at \"+t=0+\" )
\n" ); document.write( "Hope this helps\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );