Let larger part be x
Smaller part = 16 – x
According to question,
2x2 = (16 – x)2 + 164
⇒ 2x2 – (16 – x)2 – 164 = 0
⇒ 2x2 – [256 – 32x + x2] – 164 = 0
⇒ 2x2 – 256 + 32x – x2 – 164 = 0
⇒ x2 + 32x – 420 = 0
⇒ x2 + 42x – 10x – 420 = 0
⇒ x(x + 42) – 10(x + 42) = 0
⇒ (x + 42) (x – 10) = 0
⇒ x = -42 or x = 10
⇒ x = 10 [x = -42 not possible]
Larger number (x) = 10
Smaller number (16- x) = 16 – 10 = 6
Hence two numbers are 10, 6