Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/4
Q:1/8=80
M:4/4
K:none
['f |{g}']  
X:1
L:1/4
Q:1/8=80
M:4/4
K:none
 A |{g} f2 g/{a}e/{ag} a2 g/{a}e/ |{Gdc} d2{e} c{Gdc} d2 f |{gfg} f e{g} e{gf} g2{a} g | 
{ag} a3 a2 f |{g} f g{a} f{gef} e2 f |{gf} g a g{afg} f2{e} f |{g} e g{a} B d2{e} c |{Gdc} d3 d2 |]  