document.write( "Question 345414: Two cars leave Cedar Lake, Indiana, at the same time, one heading due north, and the other one heading due east. After a few hours, they are 170 miles apart. The car traveling north had traveled 70 miles farther than the car traveling east.
\n" ); document.write( "(How far has each car traveled?) Hint: use pythagorean formula
\n" ); document.write( "

Algebra.Com's Answer #247031 by mananth(16946)\"\" \"About 
You can put this solution on YOUR website!
let east bound car travel x
\n" ); document.write( "north bound car travels x+70 in the same time.
\n" ); document.write( "the distance between cars = 170 miles
\n" ); document.write( "....
\n" ); document.write( "x^2+(x+70)^2= 170^2
\n" ); document.write( "x^2+140x+4900 = 28900
\n" ); document.write( "x^2+140x+4900-28900 =0
\n" ); document.write( "x^2+140x-24000 = 0
\n" ); document.write( "x^2+240x-100x-24000=0
\n" ); document.write( "x(x+240)-100(x+240)=0
\n" ); document.write( "(x+240)(x-100)=0
\n" ); document.write( "x=100 OR x = -240. Ignore negative value.
\n" ); document.write( "east bound car has traveled 100 miles
\n" ); document.write( "north bound has traveled x+70 = 100+70 170 miles.
\n" ); document.write( "
\n" );