Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:D
['E2 DE', 'f2 af efdB AFFE'  
X:1
L:1/8
M:4/4
K:D
 F2 AF E2 DE | FAAF Adfd | B3 d AFDE | FEED E2 DE | FdAF E2 DE | FAAF Adfd | BdGB AFDF | 
 EA,CE D3 E :| f2 af efdB | AFFE FAdA | BdGB ABde | (3fed Ad Beeg | f2 af efdB | AFFE Fdcd | 
 BdGB AFDF | EA,CE D3 e :|  