FanDuel Interview Question

How would you solve this same problem in another context (reusability/OOP design)