document.write( "Question 1058289: Hikers Mario and Evan start out at the same point. Mario walks due North for x miles. In the same amount of time, Evan, going due east, walks one mile further than Mario walked. When they stop, the distance between the hikers is 2 miles more than the distance walked by Mario. How far did each hiker walk? \n" ); document.write( "
Algebra.Com's Answer #673368 by KMST(5328)\"\" \"About 
You can put this solution on YOUR website!
\"x\"= distance walked by Mario, in miles
\n" ); document.write( "\"x%2B1\"= distance walked by Evan
\n" ); document.write( "\"x%2B2\"= distance between Mario and Evan at the end of their walks.
\n" ); document.write( "The 3 distances above are the lengths of the sides of a triangle.
\n" ); document.write( "Since Mario and Evan walked in directions perpendicular to each other,
\n" ); document.write( "their walks are the legs of a right trisngle,
\n" ); document.write( "and the final distance between them is the hypotenuse of that triangle.
\n" ); document.write( "According to the Pythagorean theorem,
\n" ); document.write( "\"x%5E2%2B%28x%2B1%29%5E2=%28x%2B2%29%5E2\"
\n" ); document.write( "\"x%5E2%2Bx%5E2%2B2x%2B1=x%5E2%2B4x%2B4\"
\n" ); document.write( "\"2x%5E2%2B2x%2B1=x%5E2%2B4x%2B4\"
\n" ); document.write( "\"x%5E2-2x-3=0\"
\n" ); document.write( "\"%28x-3%29%28x%2B1%29=0\"
\n" ); document.write( "\"x=3\" is the only positive solution,
\n" ); document.write( "so Mario walked \"highlight%283+miles%29\" ,
\n" ); document.write( "and \"x%2B1=highlight%284%29\" is the number of miles walked by Evan.
\n" ); document.write( "
\n" ); document.write( "NOTE:
\n" ); document.write( "The triangle is a 3-4-5 triangle,
\n" ); document.write( "the most popular right triangle with whole number side lengths,
\n" ); document.write( "and the only one with where the long leg and hypotenuse
\n" ); document.write( "are longer than the short leg by 1 and 2 units respectively
\n" ); document.write( "(as proven above).
\n" ); document.write( "Knowing that, no calvulation is needed,
\n" ); document.write( "which would be helpful if this was a multiple choice question.
\n" ); document.write( "
\n" );