Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
Q:1/8=320
M:4/4
K:D
['DEDF A>BAF A2 de d3 B', 'D2 de'  
X:1
L:1/8
Q:1/8=320
M:4/4
K:D
 FE | DEDF A>BAF | A2 de d3 B | A>Bd>e{e} f2 ed | e2 E2 E2 A/G/F/E/ | DEDF A>BAF | A2 de d3 B | 
 ABde{e} f2 ed/e/ | d2 DE D2 :| de | fgfe dBdB | A2 d>e d3 f | GFGA BAGF | E2 e2 e2 ag | 
 fed>f edc>e | dcBA BAGF | EFEB AGFE | D2 de d2 :|  