Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:6/8
K:C
['efg gag agf edc def edc', 'agf edc def']  
X:1
L:1/8
M:6/8
K:C
|: efg gag | agf edc | def edc | dGG G2 G | efg gag | agf edc | def edc | dcB c3 :: efg efg | 
 agf edc | def def | gfe dcB | cGc ece | agf edc | def edc | dcB c3 :|  