The sum of the side lengths of the two squares is 36 cm, and the difference in area is 72 cm. Find the area of the two squares

The sum of the side lengths of the two squares is 36 cm, and the difference in area is 72 cm. Find the area of the two squares

Let one edge X and the other 36-x
(36-x)²-X²=72
The solution is x = 17
36-17=19
17²=289
19²=361