Mathnasium interview question

Math Up to algebra II