Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:4/4
K:G
['GB B2 dB B2 GABG ABGE DEGA', 'g3 a gfed Bd d2'  
X:1
L:1/8
M:4/4
K:G
 GB B2 dB B2 | GABG ABGE | DEGA Bd d2 | eaaf gedB | GB B2 dB B2 | GABG ABGE | DEGA Bgfg | 
 ecAF G4 :: g3 a gfed | Bd d2 Bdef | g2 af gfed | eaag ea a2 | g3 a gfed | Bd d2 gdBd | c3 B cBAG | 
 FGAF G4 :|  