Isaiah and his children went into a grocery store and he bought $10 worth of apples and bananas. Each apple costs $2.50 and each banana costs $0.50. He bought a total of 8 apples and bananas altogether. By following the steps below, determine the number of apples, x,x, and the number of bananas, y,y, that Isaiah bought.