In space of real functions we have subspace $\textbf{V}$ dedicated by set $V = \langle 1,x,\cos x,\sin x \rangle$ and its subspace $\textbf{W}$ dedicated by set $W = \lbrace f \in V : f(\pi)=0\rbrace$.
I need to find base of space $\textbf{W}$
In space of real functions we have subspace $\textbf{V}$ dedicated by set $V = \langle 1,x,\cos x,\sin x \rangle$ and its subspace $\textbf{W}$ dedicated by set $W = \lbrace f \in V : f(\pi)=0\rbrace$.
I need to find base of space $\textbf{W}$
Hint: You already have a basis for $\mathbf V$ (though if you don't already know that $V$ is linearly independent, you'd need to show that before you can say for sure that $V$ is a basis for $\mathbf V$), so you can reduce the problems to working in that basis. You also know (hopefully) that $$ (a\cdot 1+bx+c\cos x+d\sin x)(\pi) = a+b\pi-c $$ So all you need to do is to find a basis for the solution space for the equation $$ a+\pi b-c+0d = 0 $$ and then map those basis vectors back to actual functions using your basis for $\mathbf V$.