Revature Interview Question

Some basic maths questions.