Solving a third-degree equation using polynomial division and the pq formula