How to calculate total tax payable with rebates| Taxation