$V$ is an inner product space and $g: V \rightarrow F$ is a linear transformation.
Find a vector $y$ such that $g(x)=\langle x,y \rangle$ for all $x \in V$
$V=P_2(R)$ with $\langle f,h \rangle=\int_{0}^{1}f(t)h(t)dt$, $g(f)=f(0)+f'(1)$.
I know, by formula, $y=\sum_{i=1}^{n} \bar{g(v_i)}v_i$ where {$v_1,\dots,v_n$}=$\beta$ is an orthonomal basis.
In that problem, the basis $\beta=(1,x,x^2)$ is not orthonormal so I have to use gram-schmidt and normalize it. I tried to calculate them but the answer $y=210x^2-204x+33$ is not achievable.
Of course there can be other ways to solve this, but I want to solve it by standard way (using gram-schmidt). I need your help. How to get the answer?