I really have trouble with making any exercises regarding point symmetry and line symmetry. For example:
Show that $f(x) = \cos^2(x)\sin(x)$ is line symmetrical in the line $x=\dfrac{1}{2} \pi$.
So I need to show $f(a-p) = f(a+p)$, but I have no idea how to. Even when I see the answers, I don't know. I just see them rewriting cosines and sines in different forms.
Note that $$\sin(\tfrac{\pi}{2}-x)=\cos(x)\qquad \text{ and }\qquad \cos(\tfrac{\pi}{2}-x)=\sin(x)$$ (see Wikipedia for example; you can also just draw a triangle with angles $x$, $\frac{\pi}{2}-x$, and $\frac{\pi}{2}$).
Using the above facts together with the facts $\sin(-x)=-\sin(x)$ and $\cos(-x)=\cos(x)$, we see that $$\sin(\tfrac{\pi}{2}+x)=\cos(x)\qquad\text{ and }\qquad \cos(\tfrac{\pi}{2}+x)=-\sin(x).$$ Thus, we have $$f(\tfrac{\pi}{2}-x)=\bigg[\cos(\tfrac{\pi}{2}-x)\bigg]^2\sin(\tfrac{\pi}{2}-x)=\sin^2(x)\cos(x)$$ and $$f(\tfrac{\pi}{2}+x)=\bigg[\cos(\tfrac{\pi}{2}+x)\bigg]^2\sin(\tfrac{\pi}{2}+x)=(-\sin^2(x))\cos(x)=\sin^2(x)\cos(x)$$ so that $$f(\tfrac{\pi}{2}-x)=f(\tfrac{\pi}{2}+x).$$