Deductions & credits

Oh line 9 for 9767 is Total Income not Earned Income.    The Standard Deduction is only line 1 $4806+350 = 5156.