Wayfair interview question

Basic arithmetic questions and reasoning