Goldman Sachs interview question

Please show or explain your thought process.