Solve the equation using the method of factorisation-
x2 - 4x - 45 = 0

x² + 4x -9= (x + a)^2 + b
Find the value of a and the value of b.