Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
M:6/8
K:G
['gfg dBG ABc BAG gfg ABc', 'gfg dBd gfg ece gfg', 'B,GG CGG EGG DGG'  
X:1
L:1/8
M:6/8
K:G
 gfg dBG | ABc BAG | gfg ABc | BGG G3 | gfg dBG | ABc BAG | gfg ABc | BGG G3 || gfg dBd | gfg ece | 
 gfg dBG | ABc BAG | gfg dBd | gfg ece | gfg ABc | BGG G3 || B,GG CGG | EGG DGG | Ged dcB | 
 cdc BAG | B,GG CGG | EGG DGG | Gec BcA | BGG G3 ||  