document.write( "Question 61685: ABCD is a square. Point A has co-ordinates (2,4) and the line ODC has equation y=x.
\n" ); document.write( "find the equation of line AD
\n" ); document.write( "find the co-ordinates of point D
\n" ); document.write( "find the area of square ABCD
\n" ); document.write( "

Algebra.Com's Answer #42474 by josmiceli(19441)\"\" \"About 
You can put this solution on YOUR website!
Find the equation of the line through (2,4) which is perpendicular
\n" ); document.write( "to the line \"y+=+x\"
\n" ); document.write( "The slope of \"y+=+x\" is +1
\n" ); document.write( "A line perpendicular to it will have slope = -1
\n" ); document.write( "\"y+=+mx+%2B+b\"
\n" ); document.write( "\"y+=+-x+%2B+b\"
\n" ); document.write( "It goes through (2,4)
\n" ); document.write( "\"4+=+-2+%2B+b\"
\n" ); document.write( "\"b+=+6\"
\n" ); document.write( "\"y+=+-x+%2B+6\" is the equation of AD
\n" ); document.write( "Find intersection of \"y+=+x\" and \"y+=+-x+%2B+6\"
\n" ); document.write( "add the equations
\n" ); document.write( "\"2y+=+6\"
\n" ); document.write( "\"y+=+3\"
\n" ); document.write( "\"x+=+3\" also
\n" ); document.write( "(3,3) is the point D
\n" ); document.write( "To get the area of the square, find length AD and square it
\n" ); document.write( "\"%28x%5Ba%5D+-+x%5Bd%5D%29%5E2+%2B+%28y%5Ba%5D+-+y%5Bd%5D%29%5E2++=+l%5E2\"
\n" ); document.write( "note that \"l%5E2\" is the area
\n" ); document.write( "\"%282+-+3%29%5E2+%2B+%284+-+3%29%5E2+=+A\"
\n" ); document.write( "\"%28-1%29%5E2+%2B+1%5E2+=+A\"
\n" ); document.write( "\"A+=+1+%2B+1\"
\n" ); document.write( "\"A+=+2\" area abcd
\n" ); document.write( "
\n" );