Develop melodies utilizing the stated letter notation and the provided theme.
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
['D>F A2 (A/B/c/d/) F2 AF E>FED D2', 'z A2 A2 (A/B/c/d/) F2 AF E>FED', 'B2 A2 AFAB d3 e f>efg f>edA', 'z A2 A2 (A/B/c/d/) F2 AF E>FED']  
X:1
L:1/8
Q:1/4=120
M:4/4
K:D
"^Moderate" D>F | A2 (A/B/c/d/) F2 AF | E>FED D2 dB | A>FDF A>BAF | A4- A z || A2 | 
 A2 (A/B/c/d/) F2 AF | E>FED D2 z F | B3 c dcB^A | B4- B2 |] A2 | AFAB d3 e | f>efg f>edA | 
 d>efA A>BAF | A4- A z || A2 | A2 (A/B/c/d/) F2 AF | E>FED D2 d>B | A>BAF GFE>F | D4- D z |]  