form TC-40S of Utah, line 1 and line 6

Hi,

 

I am filling out form TC-40S of Utah:

 

For first state, it asks in line 1:  Enter federal adjusted gross income taxed by both Utah and state of California (which I am trying to get Credit for income tax paid to another state or California in this case).  My question is:  1) Is this federal adjusted gross income taxed by both Utah and state of California is from line 11 of Form 1040.  2) Or is box 1 (Wages, tips, other comp.) of both W-2 forms for Utah and California (when add together these two box 1) equal the federal adjusted gross income taxed by both Utah and state of California?  3) If it is not, how do I get this federal adjusted gross income taxed by both Utah and state of California? 

 

For first state, it asked in line 6: Actual income tax paid to state shown on line 1.  Is this from box 17 (State Income tax) of California W-2 form?

 

Thanh