Infrasoft interview question

Design database structure for given scenario.