A and B have a certain number of mangoes. A says to B, “If you give me 30 of your mangoes, I will have as many as left with you”, B replies, “If you give me 10, I will have thrice as many as left with you”. How many mangoes each has? About the author Claire
Let the number of mangoes A has, be x and the number of mangoes B has , be y. ∴30+x=2(y−30)⟶(i) ,as A says and , 10+y=3(x−10)⟶(ii) ,as B says On simplification , x−2y+90=0⟶(iii) −6x+2y+80=0⟶(iv) On adding (iii) and (iv), −5x+170=0 ⇒x=34 mangoes. putting x in (i), 34−2y+90=0 2y=124 y=62 mangoes. Reply
Let the number of mangoes A has, be x
and the number of mangoes B has , be y.
∴30+x=2(y−30)⟶(i) ,as A says
and , 10+y=3(x−10)⟶(ii) ,as B says
On simplification ,
x−2y+90=0⟶(iii)
−6x+2y+80=0⟶(iv)
On adding (iii) and (iv),
−5x+170=0
⇒x=34 mangoes.
putting x in (i),
34−2y+90=0
2y=124
y=62 mangoes.