Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
M:4/4
K:D
['eA (3AAA ABcd e^def g3 e fd', 'Adfd gee^d efga baa^g a2 =ga b2'  
X:1
L:1/8
M:4/4
K:D
|: eA (3AAA ABcd | e^def g3 e | fd (3ddd Ad (3ddd | fgaf gfdf | eA (3AAA ABcd | e^def g3 e | 
 fd (3ddd edBd |1 Addc defg :|2 Addc defa |: b2 ba gabg | ad (3ddd Adfd | gee^d efga | 
 baa^g a2 =ga | b2 ba gabg | ad (3ddd Adfd | g2 eg fedB |1 Addc defa :|2 Addc defg ||  