If a commodity is sold at a 10% discount, it will make a profit of 20 yuan. If it is sold at a 70% discount, it will lose 10 yuan Yuan, then the purchase price and price of the commodity are

If a commodity is sold at a 10% discount, it will make a profit of 20 yuan. If it is sold at a 70% discount, it will lose 10 yuan Yuan, then the purchase price and price of the commodity are

Let the purchase price be x and the price be y. the cubic formula is as follows:
Y*0.9=X+20
Y*0.7=X-10
Combined above:
1.6Y=2X+10
X=0.8Y-5
Insert above:
0.9Y=0.8Y-5+20
0.1Y=15
Y=150
Insert it again:
X=120-5
X=115
The purchase price of the commodity is 115 yuan and the price is 150 yuan