Claiming the AOTC education credit with excess scholarships, 529 distribution, and taxable income, as single filer, not dependent

Any advice on exactly how/where to input all income as the student, who is NOT a dependent (age 18)?  Work income $11K+, scholarships (excess refunded), 529 distribution (all refunded), and social security income. Scholarships exceed qualified tuition/fees.  I am lost. Thanks!