Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:12/8
K:G
['GBd e2 d dBd', 'e=fe d2 c BAG'  
X:1
L:1/8
M:12/8
K:G
|: GBd e2 d dBd g3 | GBd ceb agf g3 | GBd e2 d dBd gab | d'3 b3 agf g3 :: e=fe d2 c BAG ABc | 
 e=fe d2 c BAG A3 | e=fe d2 c BAG ABc | c3 B3 AGF G3 :|  