A and B have some toffees. If A gives one toffee to B, then they have an equal number of toffees. If B gives one toffee to A, then the toffees with A are double with B. The total number of toffees with A and B are _______.
Show answer & explanation
Correct answer: A
Explanation
The correct answer is option 1 i.e. 12.
Calculations:
Let the number of toffee with A and B be x and y.
According to the question;
If A gives one toffee to B,
⇒ x - 1 = y + 1
⇒ x - y = 2 ---- (1)
When B gives one toffee to A,
⇒ x + 1 = 2(y - 1) ---- (2)
Using equation (1) values in equation (2), we get
⇒ y + 3 = 2y - 2
⇒ y = 5
Using the value of y in equation (1), we get
⇒ x = 7
Hence, the total number of toffees with A and B = x + y = 5 + 7 = 12