For the first cow
SP= Rs. 20,000
Profit- 5%
CP= 100/100+P% Multiply by SP
CP= 100/105 (After cutting with 20000=21) Multiply by 20000 (After cutting with 105= 4000)
CP=400000/21
CP=Rs. 19047.62 (Approx.)
SECOND COW
SP=Rs.20000
Loss=10%
CP=100/100-Loss
CP=100/90(After cutting with 20000=9) Multiply by 20000(After cutting with 90=2000)
CP=200000/9
CP=Rs.22222.22( Approx.)
Now,
Total CP= Rs.19047.62+Rs.22222.22
=Rs.41269.84
Total SP=Rs.20000+Rs.20000=Rs.40000
:. CP>SP Hence, It's a loss.
Loss=CP-SP
=Rs.41269.84-Rs.40000
=Rs.1269.84