Unisys interview question

Solve the given design problem.