document.write( "Question 1133899: From a bike shop, Rama pedals due north while Sam rides due west. When Sam is 4 mi from the shop, the distance between her and Rama is two miles more than Rama’s distance from the bike shop. Find the distance between Rama and Sam. \n" ); document.write( "
Algebra.Com's Answer #751146 by Boreal(15235)\"\" \"About 
You can put this solution on YOUR website!
x is the distance from R to the bike shop and one leg of a right triangle (draw this)
\n" ); document.write( "Sama is 4 miles away (another leg).
\n" ); document.write( "The hypotenuse of the right triangle is the distance between them of x+2 miles
\n" ); document.write( "so 4^2+x^2=(x+2)^2
\n" ); document.write( "or x^2+4x+4=x^2+16
\n" ); document.write( "4x=12
\n" ); document.write( "x=3 miles
\n" ); document.write( "the distance between them is x+2 or 5 miles (3-4-5 right triangle)
\n" ); document.write( "
\n" );