Hello.

I have been trying to follow the solution on this site:

Cubic Formula -- from Wolfram MathWorld

and have been making headway in understanding it. However, I am getting hung up around lines 35, 36, and 37. I cannot work out how they reduced and arrived at everything behind -QB+2R on line 36, nor how that reduces to -QB on line 37.

What am i missing?