Solve QuadraticLaw