Retirement tax questions

Thank you! So the fact that I have a W-2 means that the income I receive from being a TA can be considered compensation?