Given :
A farmer has 300 feet of fence available to enclose a 4500 square foot region in the shape of adjoining squares, with sides of length x and y.
The big square has sides of length x and the small square has sides of length y.
To Find :
The value of x and y.
Solution :
From attached figure perimeter is given by :
x + x + x + y + y + y + ( x-y ) = 300 ft
4x + 2y = 300
2x + y = 150 ...1)
Now, area is given by :
A = x² + y²
x² + y² = 4500 ...2)
Putting value of y in equation 2), we get :

y = 150 - ( 2× 60 )
y = 30 ft
Therefore, the value of x and y is 60 ft and 30 ft respectively.