COMC 2011 A Problem 1

If r is a number such that r^{2}-6 r+5=0, what is the value of (r-3)^{2} ?