Let the two numbers be x and y. According to the question, x+y=59 ...(i) and x×y=840 ...(ii) Now, on squaring Eq. (i) both sides we get, x2+y2+2xy=3481 x2+y2+2×840=3481 [from Eq. (ii)] ⇒ x2+y2+1680=3481 ⇒ x2+y2=3481−1680 ⇒ x2+y2=1801 ∴ Sum of squares =1801