Simplify (rcos(theta)-2)^2