Revature interview question

Simple math and coding questions. Multiple choice