The respective ratio between two positive numbers (X and Y) is 3:5. When 2 is added to both the numbers, the ratio between X and Y becomes 5:8. What is the difference between both the numbers?
⇒ x=3y5 (i)
and x+2y+2=58 (given)
⇒8(x+2)=5(y+2)⇒8x+16=5y+10
⇒8x−5y=10−16
⇒8(3y5)−5y=−6 [Put x=3y5]
⇒24y−25y=−30
⇒−y=−30⇒y=30 and x=3y5=3×305=18
Difference between both the numbers =30−18=12