This is LaTeX code:

[latex]
f(x)=\displaystyle\frac{(2x^2-2x+1)^2}{(x-1)^2}
[/latex]