Wayfair interview question

Simple case regarding self-service, routine math