Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
Q:1/8=320
M:6/8
K:G
['g2 e dBG E2 D', 'G2 d gfg agf gfe dBG cBA'  
X:1
L:1/8
Q:1/8=320
M:6/8
K:G
 z | B3 AGA | B2 G g2 e | dBG E2 D | EAA A2 c | BGG AGG | BGG g2 e | dBG E2 D | EGG G2 :| d | 
 gfg agf | gfe dBG | cBA BAG | EAA A2 D | E/F/GG G2 e | dBG A2 B | EGc B2 A | BGG G2 :|  