Subtract \(27\) from both sides.
\[-{x}^{2}=31-27\]
Simplify \(31-27\) to \(4\).
\[-{x}^{2}=4\]
Multiply both sides by \(-1\).
\[{x}^{2}=-4\]
Take the square root of both sides.
\[x=\pm \sqrt{-4}\]
Simplify \(\sqrt{-4}\) to \(\sqrt{4}\imath \).
\[x=\pm \sqrt{4}\imath \]
Since \(2\times 2=4\), the square root of \(4\) is \(2\).
\[x=\pm 2\imath \]
x=2*IM,-2*IM