Compose a piece of music using the provided motif and follow the designated alphabet character structure.
X:1
L:1/8
M:4/4
K:G
['G2 BG dGBG ABcd cBAG (3Bcd gd', 'g2 dg']  
X:1
L:1/8
M:4/4
K:G
 D | G2 BG dGBG | ABcd cBAG | (3Bcd gd efdB | cBAG FA D2 | G2 BG dGBG | ABcd cBAG | (3Bcd gd efdB | 
 cAFA G3 :| d | g2 dg egdg | g2 bg agef | g2 dg egdB | cBAG FA D2 | g2 dg egdg | g2 bg agef | 
 g3 a gfed |1 egfa g3 :|2 egfa gedB ||  