You're looking to put this into vertex form, which is:

Where

is the vertex of the parabola(minimum).
You currently have it in standard form, which is:

To go from standard form to vertex form, we need to complete the square. But first, let's factor out the coefficient of the first term out of the first two terms:


Now let's complete the square inside of the parenthesis. We take half of the second term(-28p), square it, and then add it and subtract it into the parenthesis(because we have to keep the function the same). Half of -28 is -14, -14 squared is 196:

Now the first three terms in the parenthesis are a perfect square, we can factor them:

Distribute 1 into the parenthesis(anything times 1 is itself):

Combine like terms:
