eBay interview question

simple maths questions.