Hunter and his children went into a grocery store and he bought $7 worth of apples and bananas. Each apple costs $1 and each banana costs $0.50. He bought 3 times as many apples as bananas. By following the steps below, determine the number of apples, x, commax, and the number of bananas, y, commay, that Hunter bought.

Determine three ways to have 3 times as many apples as bananas:

1) If Hunter bought 6 apples, he could have bought 2 bananas since 6/2=3.

2) If Hunter bought 9 apples, he could have bought 3 bananas since 9/3=3.
3) If Hunter bought 12 apples, he could have bought 4 banana since 12/4=3.

Determine three ways to have a total cost of $7:

1) If Hunter bought 5 apples ($1 each) and 2 bananas ($0.50 each), the total cost would be $5 + $1 = $6.

2) If Hunter bought 4 apples ($1 each) and 3 bananas ($0.50 each), the total cost would be $4 + $1.50 = $5.50.
3) If Hunter bought 7 apples ($1 each) and 1 banana ($0.50 each), the total cost would be $7 + $0.50 = $7.50.