I'm doing assignments and doing good so far but would like to know how:

4 cos^2x - 4 cos x + 1 = 0 becomes (2 cos x - 1)^2 = 0

Thanks!

OH GEEZE haha, right after posting I noticed it was quadratic standard form...