Here’s another question

Mrs Loh had enough money to buy either 8 pears or 12 oranges. She spent all her money on these two different fruits. If she bought 6 pears, how many oranges did she buy?