Compose melodies based on the specified pattern and provided motif.
X:1
L:1/8
M:6/8
K:G
['B2 A BGD GAG GBd ege', 'fed gfg edB BAG ABc B2 A'  
X:1
L:1/8
M:6/8
K:G
 B2 A BGD | GAG GBd | ege dBG | ABA AGA | B2 A BGD | GAG GBd | ege dBA |1 BGF G2 A :|2 BGF GBd |: 
 g3 efg | eag fed | gfg edB | BAG ABc | B2 A BGD | GAG GBd | ege dBA |1 BGF GBd :|2 BGF G2 A ||  