The Brattle Group interview question

A time solving a quanitative problem.