The Setup: We have a system of profit/loss constraints across two different scenarios for an unknown quantity of apples and mangoes with fixed unit costs. We must solve the linear equations to find the exact number of apples.
Step 1: Define variables and calculate per-item cost variations.
Let be the number of apples (Cost = each).
Let be the number of mangoes (Cost = each).
* on apples = profit per apple.
* on mangoes = loss per mango.
* on apples = loss per apple.
* on mangoes = profit per mango.
Step 2: Formulate Scenario 1 to find the quantity ratio.
In the first scenario, the net profit is exactly :
Step 3: Formulate Scenario 2 to solve for .
In the second scenario, the net loss is (meaning profit is ):
Multiply by for clarity:
Step 4: Substitute the ratio and calculate .
Substitute into the second equation:
Final Answer: 50