Sum of two number is 10 and their difference is 2.The numbers are
7 and 3
7 and 5
6 and 4
5 and 3
Let the numbers be a and b.
a + b = 10....(i)
a - b = 2......(ii)
Adding (i) and (ii)
2a = 12
⇒ a = 6
Substituting a in (i) we get b = 4