There are two squares in size. The sum of their sides is 60cm, and the difference of their area is 360 square cm. How much is their area? How much is the formula!

There are two squares in size. The sum of their sides is 60cm, and the difference of their area is 360 square cm. How much is their area? How much is the formula!

Let their side lengths be x, y respectively, and x > y, then:
x+y=60
x2-y2=360
Divide the above formula by the following formula to get:
x-y=6
The solution is: x = 33, y = 27