Scott Logic Interview Question

Designing some classes for a straightforward system