I am struggling with this problem
Let $V$ be a vector space with $\dim(V) = n < \infty$, and let $W_1, W_2 \subset V$ be subspaces of $V$ with $\dim(W_1) = k =\dim(W_2)$. Prove that there exists a subspace $U \subset V$ that satisfies $W_1 \bigoplus U = W_2 \bigoplus U = V$.
I managed to prove it for the case $W_1 = W_2$, but for the general case, I have no good idea where to start. Can you point me in the right direction? Thanks in advance
Hint: First, take the basis $(e_1, e_2,\ldots, e_i)$ of $W_1\cap W_2$.
It can be extended to the basis $(e_1,\ldots,e_i,f_1,f_2,\ldots,f_{k-i})$ of $W_1$ and to the basis $(e_1,\ldots,e_i,g_1,g_2,\ldots,g_{k-i})$ of $W_2$.
It can further be proven that $e_1,\ldots,e_i,f_1,\ldots,f_{k-i},g_1,\ldots,g_{k-i}$ will then all be linearly independent, so you can extend this set to the basis $(e_1,\ldots,e_i,f_1,\ldots,f_{k-i},g_1,\ldots,g_{k-i}, h_1,h_2,\ldots,h_{n-2k+i})$ of $V$.
Now, prove that $U=\text{span}(f_1+g_1,f_2+g_2\ldots,f_{k-i}+g_{k-i},h_1,\ldots,h_{n-2k+i})$ satisfies the desired property.