Do I pay the amount I owe IRS on amendment 1040-X when IRS already charged me before?

My previous company sent a 2019 W2 to IRS 2 years after I left the company, which I never received it (nor receiving the money stated on that W2).  I got audited by IRS in 2021 and paid $XXXX whatever the IRS letter said (since I still did not have that 2019 W2).  Of note, for 2019 tax return, I paid money $YYYY instead of receiving refund. 

 

While I am doing 2019 amendment now, I added 2hings:

1.) adding depreciation of my rental income; then my amended Fed tax return is positive $ZZZZ

2.) adding 2019 W2 (which I finally got it this year after asking my previous company multiple times); then my amended Fed tax becomes that i owe IRS a couple of hundreds ($AA)

 

Since I already paid IRS $YYYY for the 2019 tax return (in 2020 while filing), then paid IRS $XXXX when I got audited in 2021, then with this amendment 1040-X (owe IRS $AA), should I still pay IRS $AA?  Or should I get refund by the difference of what I already paid ($XXXX + $YYYY) and what owe ($AA)?