Construct a melodic piece using the alphabet-based musical sequence and the given motif.
X:1
L:1/8
M:6/8
K:G
['BAG EGD', 'bag egd']  
X:1
L:1/8
M:6/8
K:G
 A | BAG EGD | EGD EGA | BAG EGD | EAA ABc | BAG EGD | EGD EGA | BAG EGD |1 EGG G2 :|2 EGG G3 |: 
 GBd e2 d | dgB B2 A | GBd edB | caa aga | bag egd | egd ega | bag egd | egg g3 :|  