Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
['dB B2 cBAB G2', 'g2 fg'  
X:1
L:1/8
Q:1/8=180
M:4/4
K:G
 d2 e^c dB B2 | cBAB G2 AG | EA A2 BG G2 | BGBd gage | dge^c dB B2 | cBAB G2 GE | DEGA BABc | 
 dBcA BG G2 :| Bdef g2 fg | agef gdBA | Bdef gabg | a^gab =g2 ga | bg g2 agef | g2 fg edBG | 
 DEGA BABc | dBcA BG G2 :|  