He expression0.50a+0.65prepresents the total cost of a apples and p pears. If Tonya bought 10 pears and spent a total of $10.00, how many apples did she buy?