Pergunta de entrevista da empresa Wayfair

Math-based questions that referred to a table they gave me