TransAltus interview question

Creating an application based on the scenario