Hi mastermin346,
sa-ri-ga-ma's method is a fast way...
the long way to do it is
the equation in form is
One root is
The other root is
The larger root must be the first one if the roots are real.
Then twice the second root is the first.
The equation is
Either find the roots of this or substitute "p" into