Naomi and her children went into a grocery store and she bought $4 worth of apples and bananas. Each apple costs $1 and each banana costs $0.50. She bought a total of 5 apples and bananas altogether. By following the steps below, determine the number of apples, x, commax, and the number of bananas, y, commay, that Naomi bought.

Determine three ways to have a total of 5 apples and bananas:

1. One possible combination is 3 apples and 2 bananas. This would total $3 in apples (3 apples x $1/apple) and $1 in bananas (2 bananas x $0.50/banana), adding up to a total of $4.

2. Another combination is 2 apples and 3 bananas. This would also total $3 in apples (2 apples x $1/apple) and $1.50 in bananas (3 bananas x $0.50/banana), adding up to a total of $4.

3. A final combination is 1 apple and 4 bananas. This would total $1 in apples (1 apple x $1/apple) and $2 in bananas (4 bananas x $0.50/banana), adding up to a total of $3.