Deductions & credits

The payments made directly to the school by the 529 plan (showing on the 1098-T) were more than what is on #1 of the 1099-Q. So he had about $200 more in education expenses than what we withdrew. yet on the 1099-Q the earnings portion which is several thousand dollars shows up on his return as other earned income?  

 

So should he report the education expenses? and enter the 1099-Q? I'm kinda confused at this point between qualifying for the education credit or not. Not sure which way to go so he doesn't inadvertently pay taxes when he shouldn't.