Let x be the length of the side of first square and y be the length of side of the second square.
Then, x2 + y2 = 15425 ...(i)
Let x be the length of the side of the bigger square.
4x – 4y = 60
⇒ x – y = 15 or x = y + 15 ...(ii)
Putting the value of x in terms of y from equation (ii), in equation (i), we get
(y + 15)2 + y2 = 15425 ⇒ 2y2 + 30y – 15200 = 0
or y2 + 15y – 7600 = 0 or (y + 95)(y – 80) = 0 ⇒ y = – 95, 80
But, sides cannot be negative, so y = 80
Therefore, x = 80 + 15 = 95
Hence, sides of two squares are 80 m and 95 m.