Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:4/4
K:Emin
['BEEE G2 AB', 'Begf efde e2 df e2'  
X:1
L:1/8
M:4/4
K:Emin
 BEEE G2 AB | EABd B2 A2 | BEEE G2 AB | cBAG B2 A2 | BEEE G2 AB | EABd B2 A2 | edBe B3 G | 
 A2 BA GFGA :: Begf efde | e2 df e2 e2 | Begf efga | aagf e2 d2 | Begf efde | e2 df e2 eB | 
 c3 A B3 G | A2 B2 AGFE :|  