Pregunta de entrevista de Walgreens

A few difficult math problems but not impossible.