In this exercise, we show that every inner product $\langle\cdot, \cdot\rangle$ on $\mathbb{R}^n$ can be reduced to the dot product when expressed in a suitably adapted basis. (a) Specifically, prove that there exists a basis $\mathbf{v}_1, \ldots, \mathbf{v}_n$ of $\mathbb{R}^n$ such that $\langle\mathbf{x}, \mathbf{y}\rangle=\sum_{i=1}^n c_i d_i=\mathbf{c} \cdot \mathbf{d}$, where $\mathbf{c}=\left(c_1, c_2, \ldots, c_n\right)^T$ are the coordinates of $\mathbf{x}$ and $\mathbf{d}=\left(d_1, d_2, \ldots, d_n\right)^T$ those of $\mathbf{y}$ with respect to the basis. Is the basis uniquely determined? (b) Find bases that reduce the following inner products to the dot product on $\mathbb{R}^2$ :
(i) $\langle\mathbf{v}, \mathbf{w}\rangle=2 v_1 w_1+3 v_2 w_2$,
(ii) $\langle\mathbf{v}, \mathbf{w}\rangle=v_1 w_1-v_1 w_2-v_2 w_1+3 v_2 w_2$.