Quadratic Equations in some function of x