Crowdbotics interview question

How to design the table relationship?