You can put this solution on YOUR website!
Let r and 2r be the roots. By Vieta's formulas, the sum of the roots is -b/a and the product of the roots is c/a. We have
Squaring the first equation,
This is equal to c/a so we have
This can be simplified and rearranged to obtain 2b^2 = 9ac.