Take a square matrix and consider its polar decomposition:
When is invertible, you can explicitly get matrix in terms of and .
To do this, multiply both sides of the equation by the inverse of , and then solve for on the left side of the resulting equation.