Design melodies by integrating the specified musical pattern and the provided motif.
X:1
L:1/8
M:6/8
K:D
['A2 D FED', 'g fed edB d2 B AFA BAB', 'fed faf'  
X:1
L:1/8
M:6/8
K:D
 B | A2 D FED | A2 D FED | B2 G A2 F | EFE E2 B | A2 D FED | A2 D FED | B2 G A2 F | DFD D2 :| g | 
 fed edB | d2 B AFA | BAB d2 g | fgf e2 g | fed edB | d2 B AFA | BAB d2 F | DFD D2 :| g | fed faf | 
 gbg fag | fed faf | bge e2 g | fed faf | gbg fag | fed faf | dfd d3 :|  