Compose a musical piece utilizing the given motif as the foundation while maintaining the required musical form.
X:1
L:1/8
M:12/8
K:Edor
['B2 E E2', 'B2 e'  
X:1
L:1/8
M:12/8
K:Edor
|: B2 E E2 A B2 A Bcd | B2 E E2 F D2 F ABc | BEE E2 A BAA Bcd | edc d2 F A2 F E3 :: 
 B2 e efe e2 d efe | Bee ede BAB dBA |1 B2 e ede e3 ede | age g2 B A2 F E3 :|2 edc d2 B cBA B2 A | 
 FEF d2 F A2 F E3 ||  