Problem
Define constant $a$ in way that $x^2+(3a+1)x+81=0$ solutions are complex.
After that define $a$ in way that the solutions are strictly imaginary (when real part is $0$)
Attempt to solve
In a way real solutions for this are also complex. Real numbers are subset of complex numbers hence all real solutions are also complex. I think this was intended to interpret as solutions that are form $z=a+ib$ when $(a,b) \in \mathbb{R}, z \in \mathbb{C}$, $b \neq 0$ so solution is complex when it has imaginary component.
$$ x^2+(3a+1)x+81=0 $$
By utilizing quadratic formula we can use discriminant to define for what constant $a$ value equation has only complex solutions.
$$ D=(3a+1)^2-4\cdot 81 $$
if $D<0$ all solutions have to have imaginary part hence they are complex.
Our discriminant is form of a parabola if we would use $a$ as variable.
$$ (3a+1)^2=9a^2+6a+1 $$
if we compute when $D=0$ we can figure out when $D < 0$
$$ 9a^2+6a-323 = 0 $$
$$ a = \frac{ -6 \pm \sqrt{6^2-4 \cdot (-323) \cdot 9} }{ 2 \cdot 9 } $$
$$ a = \frac{ -6 \pm 108 } { 18 } $$
$$ a_1 = \frac{ -19 }{ 3 }, a_2 = \frac{ 17 }{ 3 } $$
So we know that $D < 0$ when:
$$ \frac{-19}{3}<a<\frac{17}{3} $$
Now only problem is i don't know if my solution is valid and how do you define a when solutions have to be strictly imaginary ?