Solve Equations with Negative or Fractional Exponents in Quadratic Form