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:2/2
K:G
['g2 dg', 'A2 GA']  
X:1
L:1/8
M:2/2
K:G
 g2 dg e2 de | g2 dg eaab | g2 df e2 dB | A2 GA BGGf | g2 eg e2 dB | g/g/g dg eaag | bgaf gfed | 
 efga babg || eddB dedB | A2 GA BAAg | edde e/e/e/=e B | A2 GA BGGg | e2 dB dedB | ABGA BAAf | 
 g2 bg e2 dB | A2 GA [GB][GB]G z ||  