The equation is
.
Consider
.
Subtract 2 from each side.
\
Squaring on each side.
\
Factorize the above equation.
\
Apply zero product property.
\
and 
and
.
Since the given equation
is a radical equation, once recheck the solution by back substitution.
Substitute
in
.

Since the above statement is true,
is a solution of
.
Substitute
in
.

Since the above statement is true,
is a solution of
.
The solutions are
and
.