Problem 243.A cubic equation has three roots Find: as an expression containing p, q, and r. This polynomial in p, q, and r is called thediscriminantof the cubic equation.

I've mulled over it for some time and seem to get half way there but never quite manage to neatly solve this.