Let $v \cdot w$=$x_1y_1+2x_2y_2+3x_3y_3+4x_4y_4$, for every $v,w\in \mathbb{R}^4$. This is a dot product. Give the orthonormal basis of the linear subspace vct $\{(1,0,1,0),(1,0,0,1)\}$ of $\mathbb{R}^4$ (relative to this dot product).
So I found a basis, which is $\left(\frac{1}{\sqrt2},0,\frac{1}{\sqrt2},0\right)$, $\left(\frac{1}{\sqrt6},0,\frac{-1}{\sqrt6},\frac{2}{\sqrt6}\right)$.
I don't know how I can make this relative to that dotproduct.
Hint:
$\{(1,0,1,0),(1,0,0,1)\}$ is already a basis on its own. Now, you need to make it orthonormal. For that, you first need to make it orthogonal.
Use the Gramm-Schmidt procedure for that. But use the new dot product to calculate the appropriate dot products.
Reminder:
The Gramm Scmidt process takes a linearly independent set $\{w_1,w_2\dots, w_n\}$ and returns a set of pairwise orthogonal vectors $\{u_1,u_2,\dots, u_n\}$ that spans the same space.
It calculates $u_1$ as $u_1 = w_1$, now try to remember how $u_2$ is calculated.