A trader marked the price of the t.v. 40% above the cost price of the t.v. and gave the purchaser 20% discount on the marked price, thereby gaining rs.360. find the cost price of the t.v?

a trader marked the price of the t.v. 40% above the cost price of the t.v. and gave the purchaser 20% discount on the marked price, thereby gaining rs.360. find the cost price of the t.v?