Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
Q:3/8=120
M:6/8
K:G
['e dBG GFG ABA ABd ege dBd', 'G2 e deg gfg efg a2 d'  
X:1
L:1/8
Q:3/8=120
M:6/8
K:G
 e | dBG GFG | ABA ABd | ege dBd | GAG G2 :: e | deg gfg | efg a2 d | gab efg | ded BGD | 
 G3 e3{fg} | dBd G3 ::  