United Airlines interview question

Question about variables transformation in the regression.