document.write( "Question 840288: Two ships start out the same point. One ship travels X miles directly due east, and the other ship travels X miles directly due south. The ship that is traveling to the East travels another 7 miles in the easterly direction, while the other, southerly traveling ship, travels an additional 15 miles south, in the same period of time. What distance X did the ships travel initially, if there distance from each other in the end is 51.22 miles? \n" ); document.write( "
Algebra.Com's Answer #506097 by ankor@dixie-net.com(22740)\"\" \"About 
You can put this solution on YOUR website!
Two ships start out the same point.
\n" ); document.write( " One ship travels X miles directly due east, and the other ship travels X miles directly due south.
\n" ); document.write( " The ship that is traveling to the East travels another 7 miles in the easterly direction, while the other, southerly traveling ship, travels an additional 15 miles south, in the same period of time.
\n" ); document.write( " What distance X did the ships travel initially, if there distance from each other in the end is 51.22 miles?
\n" ); document.write( ":
\n" ); document.write( "Use pythag; a^2 + b^2 = c^2, where
\n" ); document.write( "a = (x+7)
\n" ); document.write( "b = (x+15)
\n" ); document.write( "c = 51.22
\n" ); document.write( ":
\n" ); document.write( "(x+7)^2 + (x+15)^2 = 51.22^2
\n" ); document.write( "FOIL, square 51.22
\n" ); document.write( "x^2 + 14x + 49 + x^2 + 30x + 225 = 2623.5
\n" ); document.write( "combine like terms
\n" ); document.write( "2x^2 + 44x + 49 + 225 - 2623.5 = 0
\n" ); document.write( "a quadratic equation
\n" ); document.write( "2x^2 + 44x - 2349.5 = 0
\n" ); document.write( "Using the quadratic formula, a positive solution round out to:
\n" ); document.write( "x = 25 mi
\n" ); document.write( ":
\n" ); document.write( ":
\n" ); document.write( "Check this, ship one traveled 32 mi, ship two traveled 40 mi
\n" ); document.write( "Using a calc \"sqrt%2832%5E2+%2B+40%5E2%29\"
\n" ); document.write( "
\n" );