Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/8
M:2/2
K:D
['(3(ABc) d2 D2 D2 (AG) FAdc defd', 'd2 (AG) FAdA FAdA B2 G2 G2'  
X:1
L:1/8
M:2/2
K:D
 (3(ABc) | d2 D2 D2 (AG) | FAdc defd | e2 E2 E2 (ed) | cea^g a2 f2 | gfga bagf | gfec dcBA | 
 Bdce dfeg | f2 d2 d2 :: (AG) | FAdA FAdA | B2 G2 G2 (GF) | GBeB GBed | c2 A2 A2 (ef) | gfga bagf | 
 gfec dcBA | Bdce dfeg | f2 d2 d2 :|  