How to calculate the tax

How to calculate the tax

Hello gus I am new in JQuery and I want to calculate the tax in JQuery but i dont know how to do that.

It has also a select option too choose your tax (0%, 6% and 21%) can someone help me please?