document.write( "Question 988589: HI, this question is from my textbook.
\n" ); document.write( "The equations of two sides of a square are y=3x-1 and x+3y-6=0. (0,-1) is one vertex of the square. Find the coordinates of the other vertices.
\n" ); document.write( "

Algebra.Com's Answer #609123 by Alan3354(69443)\"\" \"About 
You can put this solution on YOUR website!
The equations of two sides of a square are y=3x-1 and x+3y-6=0. (0,-1) is one vertex of the square. Find the coordinates of the other vertices.
\n" ); document.write( "---------------
\n" ); document.write( "(0,-1) is point A.
\n" ); document.write( "Find the intersection of the lines, that's a 2nd vertex, point B.
\n" ); document.write( "---
\n" ); document.write( "y=3x-1
\n" ); document.write( "x+3y-6=0 --> y = (-1/3)x + 2
\n" ); document.write( "-----------
\n" ); document.write( "x + 3(3x-1) = 6
\n" ); document.write( "10x = 9
\n" ); document.write( "x = 0.9, y = 1.7 --> B(0.9,1.7)
\n" ); document.write( "-----------
\n" ); document.write( "The distance between the 2 points is the side length.
\n" ); document.write( "\"s+=+sqrt%28diffy%5E2+%2B+diffx%5E2%29+=+sqrt%282.7%5E2+%2B+0.9%5E2%29\"
\n" ); document.write( "\"s+=+sqrt%288.1%29+=+9sqrt%2810%29%2F10\"
\n" ); document.write( "-----------
\n" ); document.write( "Find the line thru A(0,-1) parallel to x+3y-6=0
\n" ); document.write( "--> y = (-1/3)x - 1
\n" ); document.write( "A vertex (point D) is on this line distance s from point A.
\n" ); document.write( "The x-distance from A to D is 2.7, and the y-distance is 0.9
\n" ); document.write( "--> D (-2.7,-0.1)
\n" ); document.write( "------------------
\n" ); document.write( "The side CD goes thru D with a slope of 3 (parallel to AB)
\n" ); document.write( "y + 0.1 = 3(x + 2.7)
\n" ); document.write( "y = 3x + 8
\n" ); document.write( "---
\n" ); document.write( "Vertex C is the intersection of y = 3x + 8 and y = (-1/3)x + 2
\n" ); document.write( "3x + 8 = -x/3 + 2
\n" ); document.write( "10x/3 = -6
\n" ); document.write( "x = -1.8, y = 2.6
\n" ); document.write( "C(-1.8,2.6)
\n" ); document.write( "
\n" ); document.write( "
\n" );