Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:6/8
K:D
['A d2 d d2 f e2 A', 'f e2'  
X:1
L:1/8
M:6/8
K:D
 A | d2 d d2 f | e2 A A2 A | B2 G E2 A | FEF D2 A | d2 d d2 f | e2 A A2 A | B2 G E2 A | F3 D2 :: 
 a | f2 d D2 f | e2 c [Cc]2 e | d2 B [B,B]2 d | cBc ABc | d2 d d2 f | e2 A A2 A | B2 G E2 A | 
 F3 D2 :|  