Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/8
M:4/4
K:D
['dB AFFF AFdB AFFF GEEE', 'edfd eBBB'  
X:1
L:1/8
M:4/4
K:D
|: dB | AFFF AFdB | AFFF GEEE | AF FF AFDF | GEEE D2 dB | AFFF AFdB | AFFF GEEE | AFFF AFDG | 
 FDEF D2 :: AB | d3 f af d2 | edfd eBBB | dcdf afdf | eAce d2 (3ABc | de.fg afdf | edfd eBBB | 
 defg abag | fdec d2 :|  