For example, start with:      x2 - 3x + 12 = 5x2 +2,     
using al-gabr, we get: x2        + 12 = 8x2 +2
and now using al-muqabala, we obtain: x2        + 10 = 8x2

Al-Khwarizmi discusses five different forms of quadratic equations:
ax2 = bx,
ax2 = c,
  ax2 + bx = c,
ax2 + c   = bx,
ax2         = bx + c,
  with positive coefficients a,b,c.
These are all the possibilies of quadratic equations which can have positive solutions.)
But note that Al-Khwarizmi uses only words to describe the expressions and the calculations, - no symbols (not even figures) are used!

Only in the 15th century, arabic mathematicians start to use symbolic expressions, e.g.:

  stands for the equation    x2 + 10x = 56
  • the numbers are the coefficient (from right to left),
  • above 10 is the first letter of say (= "thing", in German "Coss" - the variable x)
  • above 1 is the first letter of mal (= the square of the variable)