Deductions & credits

I did put the amount on my 2024 tax that I paid as wrong as I thought I had paid $1300 on all 4 estimated tax payments. I don't doubt I owe the difference. What I can't figure out is why the correct amount of estimated tax was $5200.

On my 2023 tax return

line 15 taxable income $111,623

line 16 tax $10,017

line 18 $10,017

line 20 $7,835 with is $7,500 from the electric car credit and $335 from foreign tax credit

line 22 $2,182

line 24 $2,182