Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/4
M:2/4
K:D
['A d', 'B =c3/2 z/{d} c E |{GEF} F'  
X:1
L:1/4
M:2/4
K:D
 B/ |{AB} A D .F/.G/ A | d c A B | =c3/2 z/{d} c G |{EG} D F{c} G B |{AB} A D .F/.G/ A | d c A B | 
 =c3/2 z/{d} c E |{GEF} E .D D3/2 :| e/ |{a} f g/f/ e .d | c .A A d | f d e f |{a} g2 a .g | 
{a} f g/f/ e .d c .A A B | =c3/2 z/{d} c E |{GEF} F .D D3/2 :|  