Let $V= \{ f(x) = \alpha \sin x + \beta \cos x : \, \alpha, \beta \in \mathbb{R} \} \subset L^2[0,\pi] $.
I am asked to find $V^{\bot}$.
I recognize that $V$ is a closed subspace of $L^2[0,\pi]$ (since it is a finite-dimensional subspace of a normed vector space).
So (since $H=L^2[0,\pi] $ is a Hilbert space) there holds: $H = V \oplus V^{\bot}$ and $V^{\bot} = \operatorname{Im}\big( I - P_{V} \big)$. But I cannot go deeper.
Is it possible to find a more precise identification for $V^{\bot}$ in your opinion?
By Fourier Theory, $\{\frac{1}{\sqrt{\pi}}e^{inx/2}\}_{n\in \mathbb{Z}}$ is an orthonormal basis of $L^2([0,\pi])$. If you don't know it, you can see that their span is uniformly dense in the continuous functions with Stone-Weierstrass and then, you can apply Urysohn's Lemma to see that the continuous functions are dense in $L^2([0,\pi])$. Note that we've used that $[0,\pi]$ is a finite measure space. Anyway, you're presumably expected to know this result one way or another.
Once you have this, you can use Euler's identity to check that $\textrm{span}\{\sin,\cos\}=\textrm{span}\{e^{ix},e^{-ix}\}$ and hence, $$ V^{\perp}=\overline{\textrm{span}\{e^{i nx/2}\}_{n\in \mathbb{Z}\setminus\{-2,2\}}} $$