For example, I have an x number. 15% of x number is taken as discount and subtracted from x number. Then 10% of the remaining result is added to the result as tax and the result is found. Let's call the result Y. I want to find the number X by giving the information Y and making the necessary percentage calculations. How can I do this I need an equation. Tax and discount values because they will constantly change. How can I do that?
For example, when we apply a 15% discount to the 100 amount, 15 discount is applied and the current value is 85, then 10% tax and 8.5 tax are added to the amount to be paid to 93.5. I, on the other hand, want to get 100 when I enter 93.5 and keep the tax and discount rates the same, how can I do this?