Compose melodious passages using the designated musical pattern and specified motif.
X:1
L:1/8
M:9/8
K:G
['D2 A ABG ABc', 'c2 c e2 c ABc'  
X:1
L:1/8
M:9/8
K:G
|: D2 A ABG ABc | E2 E AGE G2 E | D2 A ABG ABc | BAG AGE G2 E :| c2 c e2 c ABc | BAB dBG G2 B | 
 c2 c e2 c ABc | BAG AGE GED | c2 c e2 c ABc | BAB dBG GBc | g2 g gdB GAB | cBA BAG AGE ||  