HP Inc. Interview Question

How would I approach this ML problem (classification)