Benson, After you create the two classes, connect them with an aggregation (empty diamond.) Then double click on the relationship and set the attributes for composite.
If you need more information, please let us know which step is causing the confusion.