Please follow https://www.irs.gov/newsroom/two-education-credits-help-taxpayers-with-college-costs.