Solve by completing the square:

x^2 - 3x + 2 = 0

Please show step-by-step instructions because this is the first time I've come across this concept and I've looked through some examples but I can't determine the number that turns the left hand side of the equation into a perfect square?