document.write( "Question 398907: Stacy works due north of home. Her husband, Sam works due east. They leave for work at the same time. By the time Stacy is 7 miles from home, the distance between Stacy and Sam is 1 mile more than Sam's distance from home. How far from home is Sam. \n" ); document.write( "
Algebra.Com's Answer #282581 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Stacy works due north of home. Her husband, Sam works due east.
\n" ); document.write( " They leave for work at the same time.
\n" ); document.write( " By the time Stacy is 7 miles from home, the distance between Stacy and Sam is
\n" ); document.write( " 1 mile more than Sam's distance from home.
\n" ); document.write( " How far from home is Sam.
\n" ); document.write( ":
\n" ); document.write( "This is a pythag problem: a^2 + b^2 = c^2; b=7
\n" ); document.write( ":
\n" ); document.write( "Let x = Sam's distance from home (a)
\n" ); document.write( "then
\n" ); document.write( "(x+1) = Sam's distance from Stacy (c)
\n" ); document.write( ":
\n" ); document.write( "x^2 + 7^2 = (x+1)^2
\n" ); document.write( "FOIL (x+1)(x+1)
\n" ); document.write( "x^2 + 49 = x^2 + 2x + 1
\n" ); document.write( "x^2 - x^2 + 49 - 1 = 2x
\n" ); document.write( "48 = 2x
\n" ); document.write( "x = 24 mi is Sam's dist from home
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check this on calc
\n" ); document.write( "\"sqrt%2824%5E2%2B7%5E2%29\" = 25 which Sam's distance from Stacy
\n" ); document.write( "
\n" ); document.write( "
\n" );