The aim of the exercise is to create two equations each displayed on a line of its own. The desired output starts with the line:

The quadratic equation

This is followed by an equation on the next line which reads "the sum from i = 0 to 2 a subscript i x superscript i equals 0". This is then followed by the line:

has solutions given by

This line is followed by another equation which reads "x equals (minus a subscript 1 plus or minus the square root of (a subscript 1 squared minus 4 times a subscript 2 times a subscript 0)) divided by (2 times a subscript 2)".

Sort of like this (if your browser is able to render UTF8 characters):

The quadratic equation
Σi=02 ai xi = 0
has solutions given by
x = (-a1 ± √(a12 - 4 a2a0)) / (2 a2)

Return