Appian interview question

How would you design a database with given constraints?