LogiFlow interview question

Please design a database schema with these tables.