The algebraic approach is lengthier than the graphical solution. We need to solve the modulus from outside to inside.
Given, Y = 1
Hence |||x|-3|-x| = 1
Case 1: ||x|-3|-x = 1
||x|-3| = x+1
Subcase 1.1:
|x|-3 = x+1
|x| = x+4
Subcase 1.1.1:
X = x+4 (no solution)
Subcase 1.1.2:
X= -x-4
X= -2------------------------------(1)
Subcase 1.2:
|x|-3 = -x-1
|x| = 2-x
Subcase 1.2.1:
x=2-x
x=1---------------------------------(2)
Subcase 1.2.2:
X=x-2 (no solution)
Case 2: ||x|-3|-x = -1
||x|-3| = x-1
Subcase: 2.1
|x|-3 = x-1
|x| = x+2
Subcase: 2.1.1:
X = x+2 (no solution)
Subcase: 2.1.2:
X= -x-2
X= -1 -----------------------------------------(3)
Subcase 2.2:
|x|-3 = -x+1
|x| = -x+4
Subcase 2.2.1:
X= -x+4
X= 2 --------------------------------------------(4)
Subcase 2.2.2:
X = x-4 (no solution)
Now, we have the solutions above. Since solving for modulus might give some extraneous solutions, we need to verify all possible solutions by putting values in the question stem
x y
1 1
-1 3
2 1
-2 3
Hence, for y to be 1, x can have only two values i.e. x=1 & x=2. So option C is the right choice.