How to set up "many" relationships?

Relationship: one to many and many to many