Here is the form:
https://www.ftb.ca.gov/forms/2022/2022-3885a.pdf
In order to answer line 12, you need to make sure you have entered the answers to the questions in lines 10 and 11