Using the given motif, compose a musical work that follows the prescribed musical form.
X:1
L:1/8
M:4/4
K:Amix
['e2 AB cdec d2 BG dG (3Bcd', 'a2 ea'  
X:1
L:1/8
M:4/4
K:Amix
 e2 AB cdec | d2 BG dG (3Bcd | eAAB cdef |1 gedg eAAc :|2 gedg eAAe || a2 ea aged | cdef (3gbg fg | 
 a2 ea agab | gedg eAAe | a2 ea aged | cdef (3gbg fg | afge fdef | gfgd BAAc ||  