A and B each has some money. If A gives Rs 30 to B, then B will have twice the money left with A. But, if B gives Rs 10 to A, then a will have thrice as much as is left with B. How much money does each have?
Let the amount of money which A has be ’a’ and which B has be ‘b’.
Given, if a gives Rs 30 to B, then B will have twice the money left with A. But, if B gives Rs 10 to A, then a will have thrice as much as is left with B
⇒ b + 30 = 2(a – 30)
⇒ b = 2a – 90 --------- (1)
Also, a + 10 = 3(b - 10)
⇒ a = 3b - 40 --------- (2)
Substituting ‘a’ from eq2 in eq1
⇒ b = 6b - 80 – 90
⇒ b = Rs. 34
Thus, a = 102 – 40 = Rs. 62