State tax filing

Line 1 in my Non Resident NY Tax return includes the income I earned in NY plus income I earned working in CT for another company. Is this tally correct? Or is there a mistake there?