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
['d3 B (AG)', 'B2 A2 A2 (Bd) e2 e2 g']  
X:1
L:1/8
M:3/4
K:G
{GA} B2 | (G3 E) D2 | E2 G2 g2{e} | d3 B (AG) |{G} A4 B A | (GA) (GE) D2 | E2{F} G2 (ge) | 
 d3 B (AG) | G4 |] B2 | A2 A2 (Bd) | e2 e2 g a | (ba) (ge) (dB) |{B} A4 (BA) | (GA) (GE) D2 | 
 E2 G2 (g>f) | d3 B (AG) | G6 |]  