Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=180
M:6/8
K:G
['g/e/ dBG GFG ABA ABd g2 e', 'z e2 z'  
X:1
L:1/8
Q:1/8=180
M:6/8
K:G
|: g/e/ | dBG GFG | ABA ABd | g2 e dBd | gGG G2 g/e/ | dBG GFG | ABA ABd | g2 e dBd | gGG G2 :: d | 
 def gfg | efg agf | gab efg | dBG B2 A | G2 z e2 z | dBd GBd | g2 z e2 z | dBg G2 :|  