x2 - 6x + 9 = 0

applico la formula risolutiva
6 [ 36 - 4(1)(9)]
x1,2 = ----------------------------- =
2


6 0
  = --------------- = 3
2
quindi
x1 = 3       x2 = 3