Develop a musical piece employing the provided motif and an alphabet-based structure.
X:1
L:1/8
M:6/8
K:Dmix
['g3 a3 g2 a gfd ABB BAG']  
X:1
L:1/8
M:6/8
K:Dmix
 g3 a3 | g2 a gfd | ABB BAG | EGG GBd | g3 a3 | g2 a gfd | ABB BAG | EGG G2 A :|  