Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:Emin
['EFGA B2', 'Bc d2', 'EFGF E2'  
X:1
L:1/8
M:4/4
K:Emin
 EFGA B2 B2 | ^A2 ^A2 B2 BG | EFGA B2 Bc | BAGF E2 ED | EFGA B2 GB | ^dcBc BAGF | EFGA B2 Bc | 
 BAGF E2 EA ||[K:Bmin] F2 FB Bc d2 | Bc d2 fedc | B2 F2 Bc d2 | fedc B2 B2 | F2 FB Bc d2 | 
 Bc d2 f2 df | bfda ec A2 | dcBA B2 BF |:[K:Emin] GF (3EFE B,ECE | EFGA BAGF | GF (3EFE CEB,E |1 
 EFGF E2 EF :|2 EFGF E2 ED ||  