Need help with American Opportunity Tax Credit AOTC Calculation

I would like to know if I can get American Opportunity Tax Credit as a dependent and all grants and loans considered.

On my form 1098-T:

  1. Payments receieved for qualified tution and related expenses: $5,637
  2. Scholarships and Grants: $5,698 (Pell was $3,698)

Federal subsidized loan amount I accepted: $2,721