Mary bought some peppers and apples at the farmer's market. 2/3 of the peppers and 3/4 of the apples were red. the number of red peppers and red apples were the same. if mary bought 27 peppers how many apples did dhe buy?

She bought 27 peppers and 2/3 of those or 18 were red

(3/4) apples = 18
apples = 24

She bought 24 apples of which 18 were red

check:
(2/3) of 27 = 18 red peppers
(3/4)(24) = 18 red apples

To solve this problem, we can set up a system of equations.

Let's say Mary bought x apples at the farmer's market.

According to the given information, 2/3 of the peppers were red. So, the number of red peppers is 2/3 * 27 = 18.

Similarly, 3/4 of the apples were red. So, the number of red apples is 3/4 * x.

Since the number of red peppers and red apples were the same, we can write the equation:

18 = 3/4 * x

Now, we can solve this equation to find the value of x, which represents the number of apples Mary bought.

First, let's multiply both sides of the equation by 4 to eliminate the fraction:

4 * 18 = 3 * x
72 = 3x

Next, divide both sides of the equation by 3 to isolate x:

x = 72 / 3
x = 24

So, Mary bought 24 apples at the farmer's market.