Careem interview question

Maths questions.