Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:2/2
K:Edor
['e2 e2 E3 F GFGA BABc'  
X:1
L:1/8
M:2/2
K:Edor
 B2 |"Em"{^d} e2 e2 E3 F | GFGA BABc |"D"{^c} d2 d2 D3 E | FAdB AFED |"Em"{^d} e2 e2 E3 F | 
 GFGA BABc |"D"{^c} dcBA"B7" BAGF |"Em" E4 e2 :: ed |"Em" B2 e2 e3 d | Bdef gfed |"D" A2 d2 d3 B | 
 ABde fedf |"Em" e2 B2"D" g2 B2 |"C" a2 B2"B7" b3 a |"Am" gfed"B7" BAB^d |"Em" e6 :|  