Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:22/8
K:Emin
['E2 B2 A2 B3 A2 AGBA A2', 'EFGDGF A2', 'FG A2 AG G2'  
X:1
L:1/8
M:22/8
K:Emin
 E2 B2 A2 B3 A2 AGBA A2 GGFFE | EFGDGF A2 GGFFEFE E2 B,EFGA | E2 B2 A2 B3 A2 AGBA A2 GGFFE | 
 EFGDGF A2 GGFFEFEEEB,EEE z |: EFGDGF A2 GGFFEGA A2 BAGGF | EFGDGF A2 GGFFEFE E2 B,E z3 :: 
[K:D] FG A2 AG G2 FFGABcB A2 GFGGF | FG A2 AG G2 FFGABAGGzG F2 z2 :|  