2021 state taxes paid in 2022 and paid with extension

Does this mean the money I sent in with my  2021state tax return filed in 2022?

 

And the extension...I sent a check with the extension (Fed and state) and another check with the final Fed return.  When I see "money paid with extension in 2022" do I put those amounts in?  The first one? the additional one? or added together?