How to work out your adjusted net income and the circumstances when it can affect your tax liability.