Design tunes that follow the specified musical pattern while integrating the presented motif
X:1
L:1/8
M:2/2
K:G
['G2 (BG) DGBG D2 (3(FED) dAFA G2', 'dgbg fgag fdef'  
X:1
L:1/8
M:2/2
K:G
 G2 (BG) DGBG | D2 (3(FED) dAFA | G2 BG DGef |1 (3(gfe) dc BGA || g2 bg dgbg | fgag fdef | 
 g2 bg dgbg | dega bg g2 | dgbg dgbg | fgag fdef | gaba gedc | (3(Bcd) AG FDEF |]  