Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:2/4
K:G
['g2 Bd (gb).a.g', 'g z'  
X:1
L:1/8
M:2/4
K:G
|: g2 Bd | (gb).a.g | f2 (df) | (ac').b.a | g2 Bd | (gb).a.g | (fa)(df) | g4 z2 :: g z f z | 
 g z ^g z | a3 =g fedc | Bd g2 | ce a2 | (gf).e.f | g2 z2 :|  