Let $A^\dagger$ be a Moore-Penrose inverse of a matrix $A$.
If $A \in \mathbb{C}^{m\times n}$ and $A=FG^*$, for some $F,G$ and $r(A)=r(F)=r(G)$, prove that $$A^\dagger = G(F^*AG)^{-1}F^*$$ and $$A^\dagger = (G^\dagger)^*F^\dagger.$$
I need to show this using SVD decomposition and maybe some other properties of a Moore-Penrose inverse.
I tried to show the statement by writing SVD decomposition of all the matrices included, but it just gets messy and I didn't succeed.
Any hints would be really helpful! Thanks in advance!