Swiss Re Interview Question

How is R squared calculate