Develop a musical composition based on the provided pattern of letters and incorporating the given motif within it.
X:1
L:1/8
M:4/4
K:Gmix
['DGGA B2 c2 dedc A2 c2', 'dggf d2 c2']  
X:1
L:1/8
M:4/4
K:Gmix
 DGGA B2 c2 | dedc A2 c2 | dGGA AGFA | GcAG FDCF | DGGA B2 c2 | dedc A2 c2 | dGGc AGFA | 
 G2 GF G2 z2 :| dggf d2 c2 | dggf d2 c2 | dggA AGFA | GcAG FDCF | DGGA B2 c2 | dedc A2 c2 | 
 dGGc AGFA | G2 GF G2 z2 :|  