MTX Group interview question

Asked for logic for random problem made by interviewer