To solve the problem of how many peaches the vendor sold, we can set up a system of equations based on the information provided.
Let:
- \( p \) = number of peaches sold
- \( r \) = number of pears sold
According to the problem, we have the following two equations:
-
The total number of fruits sold is 15: \[ p + r = 15 \]
-
The total revenue collected is $40: \[ 3p + 2r = 40 \]
Now we can solve these equations step by step.
First, we can express \( r \) in terms of \( p \) from the first equation: \[ r = 15 - p \]
Next, we can substitute \( r \) in the second equation: \[ 3p + 2(15 - p) = 40 \]
Distribute the 2: \[ 3p + 30 - 2p = 40 \]
Now, combine like terms: \[ p + 30 = 40 \]
Subtract 30 from both sides: \[ p = 10 \]
So, the vendor sold 10 peaches.
Now let's recap our choices:
- 30
- 5
- 10
- 3
The correct answer is 10.