You can use the caret symbol ^ to signify "to the power of". This sign also works in LaTeX

2x^2 - 33x+p=0

Use the quadratic formula

Split the sign to see the two roots more clearly.

For the fun of it I will choose the positive root to be bigger than the negative root although either should work

Solve for p (and the denominator will cancel immediatly)