Compose melodic phrases utilizing the specified musical pattern and the provided motif.
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
['e2 d', 'a g2 g fef edB ABd e2'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
 A3 DFA | BAF DFA | dcd ede | fef def | g2 f gab | afd Bcd |1 e2 d e2 d | cBA Bcd :|2 ABc dfe | 
 d3 dcd || e2 A e2 g | f2 d f2 a | g2 g fef | edB ABd | e2 A e2 g | f2 d f2 a | gfe dcB |1 
 A3 ABd :|2 AFA Bcd ||  