A man bought a horse and a carriage for rs. 3000. He sold the horse at a gain of 20% & the carriage at a loss of 10%. Thereby gaining 2% on. the whole.find d cost of d horse? Solve it with alligation method.