Resistance, real, is plotted along the x-axis, reactance, imaginary, is on the y-axis. Impedance is a point on the map, represented by a complex number. Below the x-axis is negative, so it is a capacitive reactance, above the x-axis is inductive reactance. Resonance lies on the x-axis, where reactance is zero.
You must introduce j when you write a complex impedance, because it keeps the orthogonal real and imaginary axes apart. Z = R + jX is prevented from becoming Z = R + X by the presence of j.
So in your second line you must carefully identify the reactance components with j .