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
['g g2', 'edgd Bded gzfa gedB ABGA Bdd z']  
X:1
L:1/8
M:2/2
K:G
 g2 ge | dBBA BzGB | dBGB AGED | GGBd g g2 a | gedB Azge | dBBA BzGB | dBGB AGED | GGBd g g2 z |1 
 gedB g g2 e :|2 gedB G G2 A || Bdd z edBd | edgd edgd | Bded gzfa | gedB ABGA | Bdd z edBd | 
 edgd edg z | Bdef g g2 a |1 gedB G G2 A :|2 gedB G4 ||  