The graph is shown below:
Work Step by Step
It is clear from the graph that the function $f\left( x \right)$ crosses the x-axis one time. This implies that the function must have 1 real root. But since $f\left( x \right)$ is an equation of degree 3 it must have exactly 3 solutions, hence the number of imaginary roots must be 2.