Compose a piece of music following the given alphabetical representation of the musical structure and the provided motif.
X:1
L:1/8
M:4/4
K:G
['G2 BGAG DGGF', 'dg g2']  
X:1
L:1/8
M:4/4
K:G
 DG G2 BGAG | DGGF GDB,E | DGGF GABc | d2 (3efg fdcA | BG G2 BGAG | DGGF GDB,G, | A,B,CD EFGB | 
 cAFA G3 B :| dg g2 dgbg | g2 bg agfg | ea a2 c'aea | a^gab a=gfe | dg g2 dgbg | g2 bg agfe | 
 dg g2 bgdB | cAFA G4 :|  