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:3/4
K:G
['ga bagedB A4', 'G4 ge d2 e2 ga b4 ga']  
X:1
L:1/8
M:3/4
K:G
 GE | D2 E2 G>A | B4 ga | bagedB | A4 GA | B>AB>cdA | BAGFGA | B>AB>cdA | BA G2 FG | E2 E>FGA | 
 B2 B2 ga | bagedB | A4 Bd | e2 e>f ge | d>edcBA | G2 EDEF | G4 || ge | d2 e2 ga | b4 ga | 
 b2 d'bag | a4 ga | babc'd'g | bagfga | babc'd'g | ba g2 fg | e2 e>fga | b2 baga | bagedB | A4 Bd | 
 e2 e>fge | d2 d>cBA | G2 EDEF | G4 ||  