Formulate melodies by adhering to the specified pattern and supplied motif.
X:1
L:1/8
M:6/8
K:G
['GBd gdB', 'g2 d{f} edB'  
X:1
L:1/8
M:6/8
K:G
 D | GBd gdB | d>ed d2 B | GBd gdB | A>BA A2 D | GBd gdB | def{a} gfg | edB{d} cBA | GAG G2 :: d | 
 g2 d{f} edB | d>ed def | g2 d{f} edB | A>BA A2 d | g2 d{f} edB | def gfe | dcB{d} cBA | G>AG G2 :|  