Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:2/4
K:G
['G2 Bd cBAG e2 fa', 'G4 GABc dBec dB G2 DEFG AFBG'  
X:1
L:1/8
M:2/4
K:G
 G2 Bd | cBAG | e2 fa | (gf)(ed) | (cB)AG | FGAB | (B2 A2) | G2 Bd | cBAG | e2 fa | (gf).e.d | 
 cBAG | FGAF | G4 :: GABc | dBec | dB G2 | DEFG | AFBG | AFBG | AF D2 | G2 Bd | cBAG | e2 fa | 
 (gf).e.d | (ed).c.B | (cB)(AG) | FGAF | G4 :|  