Pergunta de entrevista da empresa Salesforce

Design a system to model an intersection. Give high level class design and how it would function.