Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:4/4
K:D
['FEDE FGAF GBAG FDD(E', '(de) fedc dcAF GBAG'  
X:1
L:1/8
M:4/4
K:D
 (AG) | FEDE FGAF | GBAG FDD(E |{G} FE)DE FGAg | fdec dcAG | FEDE FGAF | GBAG FDD(E | 
{G} FE)DE FGAg | faec d2 || (de) | fedc dcAF | GBAG FDDg | fdec dcAg | faec d2 (de) | fedc dcAF | 
 GBAG FDD(E |{G} FE)DE FGAg | faec d2 ||  