Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:4/4
K:Amix
['ed cABd']  
X:1
L:1/8
M:4/4
K:Amix
 ed | cABd cA G2 | Adde f2 ed | cABd cAag | eage d2 ed | cABd cA G2 | Adde f2 ed | cABd cAag | 
 eage d2 cd | eaaf gfed | cdef g2 fg | eaag eaag | eage d2 cd | eaaf gfed | cdef g2 fg | 
 eaag eaag | eage d2 ed |]  