Apples cost $0.75 each and oranges cost $0.50 each. If you purchase 12 total pieces of fruit for a total of $8.00, how many apples (a) and oranges (o) did you purchase?

find a and o