Develop a piece of music by incorporating the provided motif and following the outlined musical structure represented by alphabet characters.
X:1
L:1/8
M:4/4
K:G
['G2 BG dGBG G2 Bd ed (3efg', 'd2 dg e2 eg']  
X:1
L:1/8
M:4/4
K:G
 G2 BG dGBG | G2 Bd ed (3efg | G2 Bg dGBG | GFDF G2 G2 :| | d2 dg e2 eg | dgbd' c'bag | 
 d2 dg e2 eg | dBAB G2 G2 :|  