Jane and Remus spend the same amount of money on some apples and pears. Jane bought 6 apples and 10 pears. Remus bought 14 apples and 5 pears. If Jane wanted to buy only apples, how many apples could she have brought with all her money?
6A + 10P = 14A + 5P
10P - 5P = 14A - 6A
5P = 8A
P = (8/5)A
So
6A + 10P =
6A + 10 ( 8/5)A
6A + (80/ 5)A
6A + 16A =
22A ⇒ she could have bought 22 apples