Answer
Completing the square was the method used by al-Khwarizmi to solve quadratic equations. This method involves transforming the equation into a perfect square trinomial, which can then be easily factored and solved. By adding and subtracting the square of half the coefficient of the linear term, the equation is converted into a perfect square, allowing for the extraction of the square root and the determination of the solutions.