Let $K_1, K_2$ be subfields of $K$, let $k = K_1 \bigcap K_2$, let $V_1$ be a $K_1$-vector space, $V_2$ be a $K_2$-vector space, both of them subsets of a $K$-vector space $V$.
How can I compute a $k$-basis for the intersection $V_1 \bigcap V_2$?
I'm mainly interested in the case $K = \mathbb{C}(x,y)$, $V = K^N$, $K_1 = \mathbb{C}(x)$, $K_2 = \mathbb{C}(y)$, an explicit $K_1$-basis $b_1,\ldots,b_m$ is known for $V_1$, as well as an explicit $K_2$-basis $B_1,\ldots,B_n$ for $V_2$.
The problem looks so elementary that one might hope that there should be a nice and short procedure for this.