Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/8
Q:1/2=100
M:3/2
K:D
['d2 (Bc) (dB) (AG) (FG) (AF) G2', 'd4 d2 (de) (fe) (fg) (fg) (ad)'  
X:1
L:1/8
Q:1/2=100
M:3/2
K:D
 d2 (Bc) (dB) (AG) (FG) (AF) | G2 E2 (ef) (ed) c2 A2 | BcdB ABAG FGAG | F2 D2 D2 c2 d4 || 
 d2 (de) (fe) (fg) (fg) (ad) | c2 a2 B2 ^g2 a2 (ed) | (cd)(ec) d2 (cB) (AB)(AG) | FG AF D2 c2 d4 |]  