Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/16
M:2/4
K:D
['AFDF .A2(dc) BABd .e2(de) fgfe', 'f2d2d2 (fg) afdf a2gf gfga b2ag fgaf'  
X:1
L:1/16
M:2/4
K:D
 (dB) | AFDF .A2(dc) | BABd .e2(de) | fgfe fgfe | defd .B2(dB) | AFDF .A2(dc) | BABd .e2(de) | 
 fgfe dfag | f2d2d2 :: (fg) | afdf a2gf | gfga b2ag | fgaf dfgf | gefd B2dB | AFDF A2dB | 
 BABd e2de | fgfe dfag | f2d2d2 :|  