eBay Interview Question

simple maths questions.