Merantix Momentum interview question

How would you solve this real world problem with a machine learning solution?