All the numbers used here are complex. What follows is elementary and self-contained; it requires nothing beyond finding roots of complex numbers, i.e., de Moivre's formula.
The cubic
The equation to be solved is (1). The new variable defined in (2) does away with the quadratic term, and we are left with (3), with coefficients 3p and 2q chosen for convenience.
The quartic