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:G
['G3 GBd cAG FEF DEF', 'bag fed cBA']  
X:1
L:1/8
M:6/8
K:G
 G3 GBd | cAG FEF | DEF GAB | cAB cBA | G3 GBd | cAG FEF | DEF GBd | cAd G2 z :| g3 bag | fed cBA | 
 A^ce abg | gaf fed | g2 g bag | fed cBA | GAF GBd | cAd G2 z :|  