Let $\mathbb{R}_{2}[x]$ denote the inner product space of polynomials over $\mathbb{R}$ having degree at most two, with inner product given by
$$
\langle f, g\rangle=\int_{0}^{1} f(x) g(x) d x, \text { for every } \mathrm{f}, \mathrm{g} \in \mathbb{R}_{2}[\mathrm{x}]
$$
Apply the Gram-Schmidt procedure to the standard basis $\left\{1, x, x^{2}\right\}$ for $\mathbb{R}_{2}[x]$ in order to produce an orthonormal basis for $\mathbb{R}_{2}[x]$