Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/2
K:Edor
['Be e2 Beed Beed B2', '(3Bcd ef'  
X:1
L:1/8
M:2/2
K:Edor
 A2 | Be e2 Beed | Beed B2 AG | EAdA EAdA | FA A2 BAFA | Be e2 Beed | Beed B2 AF | G2 FA GBdB | 
 AGFG E2 :| FA | Beef edBA | (3Bcd ef gefe | d2 ce dcBA | (3Bcd ef gefd | Beef edBA | 
 (3Bcd ef gedB | G2 FA GBdB | AGFG E2 :|  