The vertical bars indicate an absolute value function.
This means that whatever comes out of it, has to be positive.
So, if the part inside is positive or zero, we can just remove the bars, but if the inside is negative, we need to change the sign of the inside part while removing the bars.
So, we have two possibilities:
And:
So, the soltuions are: