Compose a piece of music using the provided motif and follow the designated alphabet character structure.
X:1
L:1/8
M:6/8
K:G
['gfg d2 B cde d3', 'BAB GAB']  
X:1
L:1/8
M:6/8
K:G
 gfg d2 B | cde d3 | cac BgB | Adc BAG | gfg d2 B | cde d3 | caf gdB | cAF G3 :| BAB GAB | 
 cBc ABc | Bdc BAG | FDE FGA | BAB GAB | cAF DEC | B,CD EFG |1 ABc def :|2 AGF G3 ||  