Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:4/4
K:Edor
['Beed BcdB', 'g3 a'  
X:1
L:1/8
M:4/4
K:Edor
|: Beed BcdB | AD D/D/D FD D/D/D | E^DEF GFGA | Beef gfed | Beed BcdB | ADFD BDAD | E3 F GFGA |1 
 Beed e3 d :|2 Beed e3 f |: g3 a bgeg | f3 g afdf | g3 a bgaf | g/f/e fd e3 f | g3 a bgeg | 
 f2 afdf | g2 bg f2 af |1 edef gfef :|2 edef gfed ||  