x=\frac{q\pm\sqrt{8p^2+25q^2}}{8q}