Square both sides and solve the resulting quadratic.
x2−3x=4⟹x2−3x−4=0⟹(x−4)(x+1)=0
The candidates are x=4 and x=−1.
Check x=4: the radicand is 16−12=4, so the left side is 4=2, which matches.
Check x=−1: the radicand is 1+3=4, so the left side is 4=2, which also matches. The right side is the positive constant 2, so there is no sign for squaring to spoil, and both candidates are genuine solutions.