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 3 times. This implies that the function must have 3 real roots. But since $f\left( x \right)$ is an equation of degree 5 it must have exactly 5 solutions; hence the number of imaginary roots must be 2.