Answer:
|x| = 2
This "||" is nothing but, absolute value, and absolute value means the positive of the number.
x = 2
Therefore x = 2
That is how you solve it, if you could not understand type it in the comments, what you couldn't understand.
If my answer helped, kindly mark me as the brainliest!!
Thank You!!