Moody's interview question

Basic math questions and rest on resume