Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/4=104
M:4/4
K:D
['A<A A>f{f} e>d(e>f) A<A B>A d4 A<A', "d4 a>fd>f{f} e>d(e<f) a<f (d/e/f/a/){c'} b3 a"  
X:1
L:1/8
Q:1/4=104
M:4/4
K:D
"^Moderato" A<A A>f{f} e>d(e>f) | A<A B>A d4 | A<A a>f{f} e>de>f | A<A{c} B>A{c} d4 |] 
 a>fd>f{f} e>d(e<f) | a<f (d/e/f/a/){c'} b3 a | a>fg>e (f<d)e>f | A<A{c} B>A{c} d4 |]  