Compose melodies using the provided motif and adhering to the designated musical form.
X:1
L:1/8
M:4/4
K:D
['Af ed ef gB', 'de dB A2'  
X:1
L:1/8
M:4/4
K:D
|: Af ed ef gB | B/B/B Bc dB GB | Af ed ef gB |1 B/B/B dB A2 FG :|2 B/B/B dB A2 fg |: af ed ed B2 | 
 (3ddd de dB A2 | af ed ed B2 |1 de dB A2 fg :|2 de dB A2 FG ||  