document.write( "Question 148177: Buried Treasure. Ahmed has half of a treasure map, which indicates that the treasure is buried in the desert 2x + 6 paces from Castle Rock. Vanessa has the other half of the map. Her half indicates that to find the treasure, one must get to Castle Rock, walk x paces to the north, and then walk 2x + 4 paces to the east. If they share thier information, then they can find x and save a lot of digging. What is x? \n" ); document.write( "
Algebra.Com's Answer #108588 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
If I just know Ahmed's half, the treasure has to be at the outer
\n" ); document.write( "edge of a circle with center at Castle Rock and radius = \"2x+%2B+6\"
\n" ); document.write( "paces.
\n" ); document.write( "Vanessa's half says \"walk x paces to the north, and then walk 2x + 4 paces to the east.\" But her instructions must put her on the edge of Ahmed's circle with
\n" ); document.write( "radius = \"2x+%2B+6\"
\n" ); document.write( "The radius and the North and South walks form a right triangle, so
\n" ); document.write( "\"%282x+%2B+6%29%5E2+=+x%5E2+%2B+%282x+%2B+4%29%5E2\"
\n" ); document.write( "\"4x%5E2+%2B+24x+%2B+36+=+x%5E2+%2B+4x%5E2+%2B+16x+%2B+16\"
\n" ); document.write( "subtract \"4x%5E2\" from both sides
\n" ); document.write( "\"24x+%2B+36+=+x%5E2+%2B+16x+%2B+16\"
\n" ); document.write( "subtract \"24x\" from both sides
\n" ); document.write( "\"36+=+x%5E2+-+8x+%2B+16\"
\n" ); document.write( "subtract \"36\" from both sides
\n" ); document.write( "\"x%5E2+-+8x+-+20+=+0\"
\n" ); document.write( "now solve for \"x\"
\n" ); document.write( "\"%28x+-+10%29%28x+%2B+2%29+=+0\"
\n" ); document.write( "\"x+=+10\" answer
\n" ); document.write( "\"x+=+-2\" reject this one (can't walk minus paces)
\n" ); document.write( "Now plug this into data given to check:
\n" ); document.write( "Ahmed's paces:
\n" ); document.write( "\"2x+%2B+6\"
\n" ); document.write( "\"2%2A10+%2B+6+=+26\"
\n" ); document.write( "Vanessa's paces:
\n" ); document.write( "East: \"2x+%2B+4\"
\n" ); document.write( "\"2%2A10+%2B+4+=+24\"
\n" ); document.write( "North: \"x+=+10\"
\n" ); document.write( "Now does right triangle check out?
\n" ); document.write( "\"%282x+%2B+6%29%5E2+=+x%5E2+%2B+%282x+%2B+4%29%5E2\"
\n" ); document.write( "\"26%5E2+=+24%5E2+%2B+10%5E2\"
\n" ); document.write( "\"676+=+576+%2B+100\"
\n" ); document.write( "\"676+=+676\"
\n" ); document.write( "OK
\n" ); document.write( "
\n" );