Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
Q:1/4=240
M:2/4
K:Emix
['B2 E2', 'Bc d4', 'e2 BA^GA'  
X:1
L:1/8
Q:1/4=240
M:2/4
K:Emix
|:"E" z2 E2 | GABA | B2 E2 | GABA | B2 E2 | =d4 | =dcBA | G2 B2 | B2 E2 | z2 E2 | GABA | B2 E2 | 
 GABA | B2 E2 | =d4 | =dcBA | G2 B2 | B2 E2 ::"A" AzBc | d2 c2 | d2 c2 | d2 c2 | cd e2 | fe d2 | 
 dcBA | c2 z2 | cd e2 | fe d2 | dcBA | c2 Bc |"D" d4 |"E" dc e2 |1 B2 z2 | B2 z2 :|2 B2 z2 | 
 z2 Bc |:"D" d4 |"G#" cB e2 | BA^GA | B2 Bc |"D" d4 |"G#" cB e2 | BA^GA | B2 Bc |"D" d4 | 
"G#" cB e2 | BA^GA | B2 Bc |"D" d4 |"G#" cB e2 | BA^GA |1 BB B2 :|  