Nora and her children went into a grocery store and she bought $5 worth of apples and bananas. Each apple costs $1 and each banana costs $0.50. She bought a total of 7 apples and bananas altogether. By following the steps below, determine the number of apples