Let roots be $m$ and $m^2$.
Sum of roots: $m + m^2 = -k$.
Product of roots: $m^3 = -8$.
From $m^3 = -8$, $m = -2$.
Sum of roots = $-2 + 4 = 2$.
So $-k = 2 \Rightarrow k = -2$.
Checking the options — correct $k$ is $-2$, so the correct choice should be (d).
% Quick tip