Solving x squared = p and x cubed = q | BlastRoom