Received two different w-2s for the states I worked in. Income amount is different for fed (total) and then divided among each of the states. How do I account for this

I worked for two different groups of one company in two different states.  I received a w-2 for federal with total income and I received two state w-2's each with an amount of income in each state.  ie., total income of $50K on federal and $30K shown for income in GA and $20K shown as income in CA.  How do I input this in turbo tax.  Right now, it calculates income itself for each state and it is not the same as on the w-2.