to solve a quadratic equation the babylonians mainly used the quadratic formula