x + y = 36 ....(1)
And,
xy = 315 .....(2)
We know that,
⇒
⇒
⇒
x - y = 6 ....(3)
Adding (1) and (3), we get
x + x = 36 + 6 ⇒ 2x = 42
⇒ x = 21
Putting the value of x in (1), we get
21 + y = 36
⇒ y = 36 -21 = 15
Hence, the numbers are 21 and 15.