Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:2/2
K:G
['G>GG>B A>G E2 c>Bc>e d>B g2 B>BB>d', '[Bg]2 (d<g) (B<g) d2 g>a b>g e2'  
X:1
L:1/8
M:2/2
K:G
 G>GG>B A>G E2 | c>Bc>e d>B g2 | B>BB>d c>AB>G | E>A F>D G2 G2 | G>GG>B A>G E2 | c>Bc>e d>B g2 | 
 B>BB>d c>AB>G | E>A F>D G2 G2 || [Bg]2 (d<g) (B<g) d2 | g>a b>g e2 (e>f) | 
 (3gab (3agf (3efg (3fed | (3cde (3def (3gfe (3dcA | [Bg]2 (d<g) (B<g) d2 | g>a b>g e2 (e>f) | 
 (3gab (3agf (3efg (3fed | (3cde (3def (3gfe (3dcA ||  