Create a piece of music utilizing the given motif and adhering to the specified structure.
X:1
L:1/8
M:4/4
K:G
['(D3 D)', 'G4 f (gf)(ef) (d3 d) (gf)(ga) b3'  
X:1
L:1/8
M:4/4
K:G
 (B>A) | G2 (GE) (D3 D) | G2 (GA) (cB)(AG) | (cB)(ce) (dB)(AG) | (AB)(AG) E2 (BA) | 
 G2 (GB) (D3 D) | (G2 G2) g3 f | (ed)(cB) (AB)(cd) | (cB)(AF) G4 :: f | (gf)(ef) (d3 d) | 
 (gf)(ga) b3 a | e2 (ge) (dB)(AG) | (AB)(AG) E2 (BA) | G2 (GB) (D2 D2) | (G2 G2) g3 f | 
 (ed)(cB) (AB)(cd) | (cB)(AF) G4 :|  