Answer:
5 m
8 m
Explanation:
Area of square = s² ; s = side length
Let the area of each room equal to x and y
x + y = 89cm²
If x = smaller room
y = x + 3 in dimension
Hence,
x² + (x + 3)² = 89
(x +3)(x +3) = x² + 3x + 3x + 9
x² + x² + 3x + 3x + 9 = 89
2x² + 6x + 9 = 89
2x² + 6x - 80 = 0
x² + 3x - 40 = 0
x² + 8x - 5x - 40 = 0
x(x + 8) - 5(x + 8) = 0
x + 8 = 0 ;
x - 5 = 0
x = - 8 or x = 5
Dimension can't be negative :
So, x = 5
Samller square = x = 5
Larger square = x + 3 = 5 + 3 = 8