How do I write complex and real roots?

For example, if the real roots are 1, -1 and the complex roots are -i, i how do I write those down? It'd be x:1, x:-1, x:-i, x:i, correct? Or am I wrong?

Real roots would be x = 1 or x = -1

Complex roots would be x = i or x = -i or if the complex number, for example, was 4 - 7i then x = 4 - 7i would be the root if that was the solution to the question.