Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:2/2
K:D
['f dDDF TE>DEf gefd TedBe dDDF TE>DEg', 'd f afdf a>baf gefd Te>dBf a>fdf'  
X:1
L:1/8
M:2/2
K:D
 f | dDDF TE>DEf | gefd TedBe | dDDF TE>DEg | fdef d/d/d d :: f | afdf a>baf | gefd Te>dBf | 
 a>fdf abag | fdef d/d/d d :|  