What is the sum of the squares of all real values of $x$ for which $|2-|x| |=1$?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
What is the sum of the squares of all real values of $x$ for which $|2-|x| |=1$?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
20
What is the sum of the squares of all real values of $x$ for which $|2-|x| |=1$?
train