Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:2/4
K:Edor
['BE EF/A/ BA B/c/d', 'Be ed/e/'  
X:1
L:1/8
M:2/4
K:Edor
|: BE EF/A/ | BA B/c/d | BE EF/E/ | D>E FA | BE EF/A/ | BA B/c/d | BA dF | F/E/D E2 :: Be ed/e/ | 
 f>e dA | Be ed/e/ | f>e dc | Be ed/e/ | f/g/f/e/ dA | BA dF | F/E/D E2 :|  