In a fruit stand, a vendor sells apples and oranges. The price per pound of apples is $2.50, and the price per pound of oranges is $3.00. A customer decides to purchase a total of 6 pounds of fruit and spends $17.50 in total. How many pounds of apples did the customer buy?