[tex](f\circ f)(1) = f(f(1))\\f(1) = 1^2 - 2\cdot 1 + 1 = 1 - 2 + 1 = 0\Rightarrow f(f(1)) = f(0)\\f(0) = 0^2 - 2\cdot 0 + 1 = 1\Rightarrow f(0) = 1\Rightarrow \boxed{(f\circ f)(1) = 1}[/tex]