Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:6/8
K:Edor
['', 'B3 EFA B2 e dBd edB', 'e dBB'  
X:1
L:1/8
M:6/8
K:Edor
 DFA |: B3 EFA | B2 e dBd | edB BAB | dfe dBA | B3 EFA | B2 e dBd | edB BAF |1 AFE E3 :|2 
 AFE EFA |: Bee efe | def f2 e | dBB BAB | dfe dBA | Bee efe | def f2 e | dBB BAF |1 AFE EFA :|2 
 AFE E3 ||  