Question:
Shaylee goes shopping for two types of fruit: mangoes that cost $2.00 each and coconuts that cost $4.00 each. If she buys 10 pieces of fruit and spends $30.00, how many pieces of each type of fruit did she buy?
A
5 mangoes and 5 coconuts
Explaination
If mangoes are represented by x and coconuts are represented by y, then:
x + y = 10, and 2x + 4y = 30
2(10-y) + 4y = 30
20 – 2y + 4y = 30 2y = 10
y = 5 and x = 5, or 5 of each type of fruit.