How to show that the signal $x_n = A\cos(\omega n)$ can be fully predicted by a system with two weights $w_1,w_2$
HINT:

Use

$$2\cos(x)\cos(y)=\cos(x+y)+\cos(x-y)$$

with $x=(n-1)\omega$ and $y=\omega$.