Construct a melodic piece using the prescribed alphabetical outline and provided motif.
X:1
L:1/8
M:4/4
K:Edor
['E3 GDEG A B3 BAGB (3BBA AB', 'BAGD E G3']  
X:1
L:1/8
M:4/4
K:Edor
|: D E3 GDEG | A B3 BAGB | (3BBA AB AGEA | (3Bde dB AGEA | G E3 GDEG | A B3 BAGB | (3BBA AB AGED |1 
 EGAE GAEG :|2 EGAG ABde |: fgag fedB | e3 d BAGD | E G3 A2 GA | B3 d BAGD | E G3 A G3 | 
 (3Bde dB AGEG | DEGB A^GAB |1 G2 GF G2 (3Abd :|2 G2 GF GBFG ||  