Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
Q:1/8=130
M:6/8
K:Gmin
['G2 G ^F=ED GAG A3 B2 B', 'G3 dcd Bcd c2 B A3 BAB'  
X:1
L:1/8
Q:1/8=130
M:6/8
K:Gmin
 G2 G ^F=ED | GAG A3 | B2 B AGF | BcB c3 | d2 d ded | c2 c cdB | ged cdB | AG^F G3 :| dcd Bcd | 
 c2 B A3 | BAB GAB | A3 D3 | G2 G ^F=ED | GAG A3 | B2 B AGF | BcB c3 | d2 d ded | c2 c cd^f | 
 g2 d edc | BcA G3 ||  