A farmer sells bags of apples and bags of oranges at a market. Last Saturday, the farmer's total sales from these two items were $350. The equation represents this situation, where is the number of bags of apples sold and is the number of bags of oranges sold. According to the equation, what was the price, in dollars, of each bag of apples?