Domanda di colloquio di Millennium

A basic question to calculate the correlation cofficient