Construct a melodic piece using the alphabet-based musical sequence and the given motif.
X:1
L:1/8
M:4/4
K:G
['BA G2 EG GEED EGGA B4 B2', 'BAGE DEGA B4 B2', 'EBEB BAGE DGGd B4 B2', 'B2 AG']  
X:1
L:1/8
M:4/4
K:G
 BA | G2 EG GEED | EGGA B4 | B2 AG BddB | AGGB A2 BA | G2 EG GEED | EGGA B4 | B2 AG BddB | 
 AGBA G2 || Bc | d2 Bd BAGE | DEGA B4 | B2 d2 BAGA | BD D2 A2 GA | BdDd BAGE | DEGA B4 | 
 B2 AG BddB | AGBA G4 || EBEB BAGE | DGGd B4 | B2 d2 BAGA | BD D2 A4 | EBEB BAGE | DGGd B4 | 
 B2 AG BddB | AGBA G2 Bc || dBBd B2 AG | d2 d2 B2 AG | d2 Dd BAGA | BD D2 A2 GA | BdDd BAGE | 
 DEGA B4 | B2 AG BddB | AGBA G2 ||  