Algebra was first used to solve equations and inequalities. Two examples are linear equations (the equation of a straight line, y=mx+b or codice_3) and quadratic equations, which has variables that are squared (multiplied by itself, for example: 2*2, 3*3, or x*x). 