Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:4/4
K:Edor
['Be e2', 'b2 ab fgeg'  
X:1
L:1/8
M:4/4
K:Edor
|: Be e2 Befe | edBd Adfd | Be e2 Begb | afde feed | Be e2 Befe | edBd Adfd | Be e2 Begb |1 
 afdf feed :|2 afdf feeA |: b2 ab fgeg | fd d2 Adfd | b2 ab fgeg | fdAF FE E2 | b2 ab fgeg | 
 fd d2 Adfd | EFGA BABd |1 AFdF FE E2 :|2 AFdF FEEd ||  