Crossover for Work interview question

Math, Patterns, and whatnot (test).