How is NY Gross Pay stated in blue section, not Box 16, calculated?

I lived and worked in PA for full-year 2024. I also had NY income related to bonuses and RSU releases earned in prior years. NY Box 16 = Federal Box 1. There is a calculation of NY Gross Pay in the Blue section that is different than NY Gross Pay in my Pay Statements. How is NY Gross Pay in the Blue section calculated?