State tax filing

Thanks for the answer. I apologize if I keep on this:

 

Let's say the total income is  $100,000  and the Alabama income is  $10

 

Would my prorated calculation be 

 

a.  100,000 /10 = 10,000   ?   

b. 10/100,000 = 0.0001 ?