Compose a musical piece using the given motif and adhering to the outlined musical form.
X:1
L:1/8
M:4/4
K:Edor
['BE E2 BdcA BABd BAFE', 'Beed efed B/c/def'  
X:1
L:1/8
M:4/4
K:Edor
|: BE E2 BdcA | BABd BAFE | D2 FD ADFD | DEFA BAFA | BE E2 BdcA | BABd BAFE | DEFA defe | 
 dBAF FE E2 :: Beed efed | B/c/def gfed | BAFA dcdB | AGFE DEFA | Beed efed | B/c/def g2 fg | 
 affe fdec | dBAF EE E2 :|  