Deductions & credits

Line 16 says tax and it is 8800.

Line 19 is child tax credit of 4000

Line 22 was the 8800 tax minus 4000 child tax credit. So 4800

Line 24 says total tax and is 4800

Which amount would the EV credit come off of?