algebra
posted by amanda .
the diagonal of a rectangular room is 13ft long. one wall measures 7ft longer than the adjacent wall. what are the dimensions of the room

13=(x+7)+x
x=3
So i think it would be 10X 3? 
The diagonal forms 2 rt triangles: it is the hyp of the triangles.
Width = X ft.
Length = (x+7) ft.
x^2 + (x+7)^2 = (13)^2,
x^2 + x^2 + 14x + 49 = 169,
2x^2 + 14x  120 = 0,
Divide both sides by 2:
x^2 + 7x  60 = 0,
(x5)(x+12) = 0,
x5 = 0,
x = 5.
x+12 = 0,
x = 12.
Select + value of X:
X = 5 ft = Width.
X + 7 = 12 ft = Length.