State tax filing

I'm going to continue on this since the MA forms show different values.

The $14,174 is what I calculated on what I made in MA for the # of days I worked in MA. This is what I thought I should  be apportioning, which would be my MA income. So why does it state that $2166 is my MA income? 
TT-2021-MASS-Apportionment-forms.png