You forgot the negative value of the square root : x²=a <=> x= +sqrt a or x = -sqrt a in real numbers like here, correct yourself