I saw this statement in a lecture note
Assume the generalized SVD of matrices $A\in R^{m\times n}$ and $B\in R^{p\times n}$ given as:
$$U^TAX = diag(\alpha_1, ..., \alpha_n),~ U^TU = I_m$$ $$V^TBX = diag(\beta_1, ..., \beta_q),~ V^TV = I_p, ~q = min\{p, n\}$$
I found that the right singular value vectors of the SVD of matrices $A$ and $B$ here are a same matrix $X$. I don't know how to find the SVD like that. Is that any two matrices with the same number of columns can be decomposed via this way?