Mila and her children went into a grocery store and she bought $6 worth of apples and bananas. Each apple costs $1.50 and each banana costs $0.50. She 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 Mila bought.