Pregunta de entrevista de Appian

How would you design a database with given constraints?