Please use the vector notation. Furthermore, iota-squared = -1 is an incorrect notion here in this context. Please do not solve it the way you have done in FSc or, maybe, in A-levels.
"i" has nothing to do with iota. It is just a direction vector(unit vector) along the x-axis.
Regards.