Define our variables:
Ps = selling price for the two cows
Ps1 = selling price for cow #1
Ps2 = selling price for cow #2
C1 = cost of raising cow #1 (i.e., cost of food, medicine, shelter, water, etc)
C2 = cost of rasing cow #2
F1 = profit from selling cow #1
F2 = profit from selling cow #2
F1 = Ps1 – C1
F2 = Ps2 – C2
Adding gives Equation 1
F1 + F2 = Ps1 + Ps2 – C1 – C2
We are given that the total profit F1 + F2 is 5 %. This gives Equation 2:
F1 + F2 = 0.05 (C1 + C2)
Substituting Eqn. 2 into Eqn 1 gives Equation 3:
0.05C1 + 0.05C2 = Ps1 + Ps2 – C1 – C2
We are given that there was a 10% loss from the sale of cow #1. This gives Equation 4:
Ps1 = 0.90C1
We are given that there was a 10% profit from the sale of cow #1. This gives Equation 5:
Ps2 = 1.10C2
Substituting Eqn. 4 & Eqn. 5 into Eqn 3 gives Equation 6:
0.05C1 + 0.05C2 = 0.90C1 + 1.10C2 – C1 – C2
Adding like terms gives Equation 7:
0 = 0.15C1 + 0.05C2
Solving for C1 gives Equation 8:
C1 = (C2) / 3
We are given that the total selling price is 210. This gives Equation 9:
210 = Ps1 + Ps2 = 0.90C1 + 1.1C2
Substituting Eqn. 8 into Eqn. 9 gives
210 = ( 0.9 (C2) / 3 ) ) + 1.1C2
Solving for C2 gives C2 = 150.
Substituting this into Eqn. 8 gives C1 = 50.
Substituting these values of C1 and C2 into Eqn. 4 and Eqn 5 gives
Ps1 = 0.90 (50)
Ps2 = 1.1(150)
Answer:
Ps1 = Rs45
Ps2 = Rs165
I am assuming Rs is some sort of unit of currency.