PwC interview question

Had to create a model