Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:2/2
K:Edor
['BdAd dBAF', 'e2 ge begf efga bgaf'  
X:1
L:1/8
M:2/2
K:Edor
|: EFGA BAFA | BdAd dBAF | D2 FD ADFA | BdAd dBAF | EFGA BAFA | BdAd dBAF | DEFA dfaf | 
 gfed Be e2 :: e2 ge begf | efga bgaf | d f3 a f3 | dfaf edBd | e2 ge begf | efga bgaf | 
 d3 f abaf | gfed Be e2 :|  