Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/8
Q:1/2=75
M:4/4
K:D
['A>B A3 d B>A Bd e2', 'A defg'  
X:1
L:1/8
Q:1/2=75
M:4/4
K:D
 z | d>e A>B A3 d | B>A Bd e2 de | f2 A2 gfed | B3 c d2 d>e | f2 A>B A3 d | B>A Bd e2 d>e | 
 f2 AA g>fed | B3 c d3 :: A | defg a3 a | bagf e3 A | defg a>b ag | f3 g a2 z A | (de)(fg) a2 ga | 
 bagf e2 d>e | f2 A2 g>f ed | B3 c d3 :|  