Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:6/8
K:Edor
['B,2 E EFA', 'B2 e efg', 'EFE e2 d'  
X:1
L:1/8
M:6/8
K:Edor
 B,2 E EFA | BAF d3 | B,2 E EFA | BAG FED | B,2 E EFA | BAF d2 B | ABc dcd | BAG FED :: B2 e efg | 
 fef d2 A | B2 e efg | fef dBA | B2 e efg | fdB dag | fed B/c/dB | Afd AFD :: EFE e2 d | BAF d2 F | 
 EFE e2 d | BAG FED | EFE e2 d | e/g/fe dfa | gfe dcd | BAG FED :|  