Now take out a as a common factor
Complete the square
so
Get rid of the square brackets
simplify
re-arrange
Divide through by a
Take the square root of both sides
Simplify again,
Make x the subject of the formula
which gives