Anametrix interview question

Basic maths questions