Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:6/8
K:Edor
['', 'BAB d2', 'B3 ABf fgf- fed edB BAB f2'  
X:1
L:1/8
M:6/8
K:Edor
 B |: BAB d2 B | efe edB | BAB d2 f | fed e2 f | afd e2 e | fed fAB | ABd d2 B | fAB B3 :: 
 ABf fgf- | fed edB | BAB f2 f | fad e2 g | fef a2 f | fed fAB | ABd d2 B | fAB B3 :|  