Google Cloud interview question

Simple matrix manipulation question !