Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
Q:1/4=120
M:2/2
K:D
['F A/A/A', '(B/A/)(G/F/) (dF) (eF) d2 (B/A/)(G/F/)'  
X:1
L:1/8
Q:1/4=120
M:2/2
K:D
"^Slow" D3 F A/A/A (AB/) | d>ef>e d2 (d>f) | D3 F A/A/A A>B | e>f (g/f/)(e/d/) (eB)B>d | 
 D3/2 F A/A/A TA2 | d>e d/e/f/e/ d2 (d>f) | g3 b f/f/f (f>a) | (e/g/)(f/a/) (g/f/)(e/d/) eBB |] 
"^8va" d | (B/A/)(G/F/) (dF) (eF) d2 | (B/A/)(G/F/) D/d/(c/d/) B>AG>F | E>ee>B (e/d/)(c/d/) e2 | 
 E>ee>d (dcBd) | (B/A/)(G/F/) (dF) (eF) d2 | (B/A/)(G/F/) d>c B>AG>F | (G/A/)(B/c/) d>c B>AG>F | 
 E>F (G/F/)(E/D/) EBBd |]  