Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:9/8
K:G
['ABA AGE', 'GAB deB d2 B'  
X:1
L:1/8
M:9/8
K:G
|: ABA AGE G3 | ABA AGE GED | ABA AGE G2 E | DED DEF GED :| GAB deB d2 B | GAB dge dBA | 
 GAB deB d2 B | ABA AGE GED :|  