Mathnasium interview question

Basic math questions.