Let the cost price of the horse be H then cost price of the cart =(3000-H)
ATQ
20 = (S.P. of hourse - H)x100/H
S.P. of hourse = 120xH/100
10 = (3000-H - S.P. of cart)x100 / (3000-H)
S.P. of cart = 90(3000-H)/100
Total S.P. = 120xH/100 + 90(3000-H)/100
= (120 H + 270000 - 90H )/100
Total gain % = (Total S.P. - Cost price )x100/ cost price
2 =( (120 H + 270000 - 90H )/100 - 3000 )x100/3000
2x3000 = 120 H + 270000 - 90 H - 300000
30 H = 6000 - 270000 + 300000
= 36000
H = 36000/30
= 1200
Cost price of the hourse = Rs 1200