The simple fact that box 1, of the 1098-T, is $10K more than box 5 means you have $10,000 of QEE (qualified educational expenses) to claim the tuition credit, unless you know that to be erroneous.
I'm not following the rest of what you're saying. You question seems to imply that box 5 is the one with $29K and box 1 is $19K.
Grad students are not eligible for the more generous American opportunity tax credit (AOTC). The Lifetime Learning Credit (LLC) is 20% of tuition paid, up to $10K ($2000 max LLC).