Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:6/8
K:Edor
['B2 A F2 E', 'd3 Bcd'  
X:1
L:1/8
M:6/8
K:Edor
|: BEE B,EE | BEE Edc | B2 A F2 E | ADD DFA | BEE FEE | BEE EFA | B2 A F2 E |1 FDD DFA :|2 
 FDD D2 c |: d3 Bcd | Bed cBA | d3 Bcd | ecA ABc | d3 Bcd | Bed cBA | B2 A F2 E |1 FDD D2 c :|2 
 FDD DFA ||  