Formulate melodies by integrating the designated musical pattern and the supplied motif.
X:1
L:1/8
Q:3/8=110
M:6/8
K:D
['AFD DFD DFD B2 A Bcd AFA', 'fef d2 e fga B2 A Bcd'  
X:1
L:1/8
Q:3/8=110
M:6/8
K:D
 c | AFD DFD DFD B2 A | Bcd AFA | BEE EdB | AFD DFD | DFD B2 A | Bcd AFA | FDD D2 :: d | fef d2 e | 
 fga B2 A | Bcd AFA | BEE E2 f | fef d2 e | fga B2 A | Bcd AFA | FDD D2 :|  