Let the two numbers be a and b respectively such that b>a
according to given condition,
a+bb+1=32
⇒2a+2b=3b+3
⇒2a−b=3.....(i)
Also,
b−aa=12
⇒2b−2a=a
⇒2b−3a=0.........(ii)
Multiplying (i) by 2 we get
4a−2b=6.....(iii)
adding (ii) and (iii) we get
a=6
Substituting a=6 in (i) we get
2(6)−b=3
⇒12−b=3
⇒b=9
Thus the two numbers are 6 and 9 respectively.