Still you have not provide some important info:
1. Why do you have $15281 on line 3?
2. You received $12440 for scholarship and grants. Are you a graduate student? If yes, then it is tax free in your case.
3. You are from Nigeria and there is no tax treaty between Nigeria and the U.S. so you don't get any extra deduction. You did not claim any either.
4. On line 17 you should have $1742 plus any other federal tax withheld.
5. What do you have on line 25 of 1040NR-EZ
Meanwhile do not miss the date on the letter from IRS. Reply them that you have made some errors on your tax return and you will file amended tax return. Or call them and ask them what you should do as you did not report $1742 on line 17. Also, if you are a graduate student tell them and that your 1042-S is not taxable.
You should use a tax professional to do your amended tax return. You can contact
![[email address]](http://www.askmehelpdesk.com/?emailimage=77e8cf0e524971376112b4af16a08ca5)
.