Deductions & credits

Is this amount based on AGI or gross income?