A commodity is priced at 20% profit, and then sold at a 15% discount to obtain a profit of 40 yuan for cost price

A commodity is priced at 20% profit, and then sold at a 15% discount to obtain a profit of 40 yuan for cost price

Its cost price is a
ax(1+20%)x85%-a=40
a=2000
It costs 2000 yuan
If satisfied, remember to adopt!