I need help with my khan academy, I don't understand anything and it's hard to do my work..

Answer:
(x - 7)² = 9
Step-by-step explanation:
x² - 14x + 40 = 0 ( subtract 40 from both sides )
x² - 14x = - 40
To complete the square
add ( half the coefficient of the x- term )² to both sides
x² + 2(- 7)x + 49 = - 40 + 49
(x - 7)² = 9