A and B have certain number of oranges. If B gives 10 oranges to A then A will have twice the number of oranges left with B.If A gives 10 oranges to B then both have the same same number of oranges.Find the number of oranges with A and B.
A = 70, B = 50
Let A have x oranges and B have y oranges.
according to first condition
B gives 10 oranges to A ⇒ x + 10 and y - 10
⇒ x + 10 = 2(y - 10)
⇒ x - 2y = -30............(i)
according to second condition
A gives 10 oranges to A ⇒ x - 10 and y + 10
⇒ x - 10 = y + 10
⇒ x - y = 20...................(ii)
solving (i) and (ii) we get
x = 50, y= 70