Please follow
https://www.irs.gov/help/ita/am-i-eligible-to-claim-an-education-credit
.