Arnau is running a luggage shop. A brand-new item priced at 30% above the cost price did not sell well. So he took 39 dollars off the price, and found that the bags sold very well. If the profit for each bag is now 10% of the cost price, what is the cost price (in dollars)?

if the cost is c,

1.3c - 39 = 1.1c
.2c = 39
c = 195

check:
30% markup = 253.50
39 discount = 214.50
10% profit = 214.50