CP of the first bat = ₹840
Profit% on the first bat = 15%
∴ Profit = 15% of ₹840 =
SP of the first bat = ₹840 + ₹126 = ₹966
CP of the second bat = ₹360
Loss = 5% of ₹360 =
SP of the second bat = ₹360 − ₹18 = ₹342
Total CP of two bats = CP of first bat + CP of second bat = ₹840 + ₹360 = ₹1,200
Total SP of two bats = SP of first bat + SP of second bat = ₹966 + ₹342 = ₹1,308
Here, Total SP of two bats > Total CP of two bats.
Gain = Total SP of two bats − Total CP of two bats = ₹1,308 − ₹1,200 = ₹108
∴ Gain% in the whole transaction