document.write( "Question 388129: 3 squares with the first square's side length is 4 units, the next one to the right has side length of x units and the next square to the right has side length of 9 units. there is a straight line which's coordinates lies on the topleft vertices of each 3 squares.\r
\n" ); document.write( "\n" ); document.write( "=> what is the side length of the middle square?
\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #274824 by CharlesG2(834)\"\" \"About 
You can put this solution on YOUR website!
3 squares with the first square's side length is 4 units, the next one to the right has side length of x units and the next square to the right has side length of 9 units. there is a straight line which's coordinates lies on the topleft vertices of each 3 squares.\r
\n" ); document.write( "\n" ); document.write( "=> what is the side length of the middle square? \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a vertex is one of the corners of one of the squares,
\n" ); document.write( "vertices is plural of vertex
\n" ); document.write( "set lower left corner of first square on origin (0,0)
\n" ); document.write( "top left corner first square: (0,4)
\n" ); document.write( "top left corner 2nd square: (4,x)
\n" ); document.write( "top left corner 3rd square: (4 + x,9)
\n" ); document.write( "slope = rise/run = (y2 - y1)/(x2 - x1)
\n" ); document.write( "slope between (0,4) and (4,x) --> (x - 4)/(4 - 0) = (x - 4)/4
\n" ); document.write( "slope between (4,x) and (4 + x,9) --> (9 - x)/(4 + x - 4) = (9 - x)/x
\n" ); document.write( "2 slopes need to be equal
\n" ); document.write( "(x - 4)/4 = (9 - x)/x
\n" ); document.write( "x(x - 4)/4 = (9 - x)
\n" ); document.write( "x(x - 4) = (9 - x)4
\n" ); document.write( "x^2 - 4x = 36 - 4x
\n" ); document.write( "x^2 - 4x + 4x - 36 = 0
\n" ); document.write( "x^2 - 36 = 0
\n" ); document.write( "(x + 6)(x - 6) = 0
\n" ); document.write( "x can not be -6
\n" ); document.write( "x = 6
\n" ); document.write( "side length is 6
\n" ); document.write( "check:
\n" ); document.write( "(x - 4)/4 = (6 - 4)/4 = 2/4 = 1/2
\n" ); document.write( "(9 - x)/x = (9 - 6)/6 = 3/6 = 1/2, same so yes
\n" ); document.write( "
\n" ); document.write( "
\n" );