Somewhat alternative approach that avoids the use of the tangent function.
The trick is to convert $x + iy$ to $r\times (\cos \theta + i\sin \theta),$
where $r > 0.$
Once this is done, you have, by De Moivre's theorem that
$[r\times (\cos \theta + i\sin \theta)]^3
~=~ r^3 \times (\cos 3\theta + i\sin 3\theta).$
This means that if $\theta$ is the Argument of $z$, then $3\times \theta$ is the
Argument of $z^3$ (within modulus of $2\pi$).
Here, if $z = -4 + 3i$ and $\theta$ is the Argument of $z$,
then you have that $|z| = 5, \cos \theta = \dfrac{-4}{5},$
and $\sin\theta = \dfrac{3}{5}.$
Then, it is immediate that $|z|^3$ is $125$.
Further, https://en.wikipedia.org/wiki/List_of_trigonometric_identities#Multiple-angle_formulae
can be consulted.
This gives $\sin (3\theta) = 3\sin \theta - 4\sin^3 \theta$
and $\cos (3\theta) = 4 \cos^3 \theta - 3 \cos \theta.$
With $\sin \theta = \dfrac{3}{5}$ and $\cos \theta = \dfrac{-4}{5}$
we have
$$\sin(3\theta) = \frac{9}{5} - \frac{108}{125} = \frac{117}{125}$$ and
$$\cos(3\theta) = \frac{-256}{125} - \frac{-12}{5} = \frac{44}{125}$$