Apply a tax based on another tax

Hello to all

We currently use the Sage 50 US Accounting 2018 Quantum

What I want is that when a card payment is registered, part of applying the corresponding tax in the country where I am located which is 12%, another tax of 15% will be applied but based on the 12% tax

So 15% of 12% of the sale.

I would be very grateful if anyone has any ideas.

Have a nice day