Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
['D/D/D D>E', 'A/A/A d>A'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
 B | D/D/D D>E FAAB | A>F d>F [A,E]3 F | D/D/D D>E (FA)AB | A<F d>F A3 :| B | A/A/A d>A B>A d<F | 
 E/E/E F>D [A,E]3 F | A/A/A d>A B>Ad>F | A/A/A dF A3 B | A/A/A d>A B>Ad<F | E/E/E F>D E>FGB | 
 A>FGE F>DD<B | AF d>F A2 ||  