How to Calculate Tax from Total Amount Easily