B.P = buying price
S.P = selling price
Sold price for a Buffalo = Rs 20000
>> The milkman made a gain of 5% while selling one buffalo.
This means if B.P. is Rs 100, then S.P. is Rs 105.
B.P. of one buffalo = 2000×100/105= Rs 19,047.62
>> Also, the second buffalo was sold at a loss of 10%.
This means if B.P. is Rs 100, then S.P. is Rs 90.
∴B.P. of other buffalo =2000×100/90= Rs 22222.22
Total C.P. = Rs 19047.62 + Rs 22222.22 = Rs 41269.84
Total S.P. = Rs 20000 + Rs 20000 = Rs 40000
Loss = Rs 41269.84 − Rs 40000 = Rs1269.84
the overall lossloss of milkman = Rs 1,269.84.