BNSF Railway interview question

Logic puzzles, order and combinations