Formulate melodies by integrating the given motif within the predetermined arrangement.
X:1
L:1/8
Q:1/2=120
M:6/8
K:D
['e d2 d']  
X:1
L:1/8
Q:1/2=120
M:6/8
K:D
 f2 f f2 e | d2 d d3 | g2 g g2 f | e2 e e3 | f2 g a2 e | f2 g a2 g | f2 f e2 e | d2 d d3 |]  