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:Gmin
['A B<F F>E D<F F2 D<G G>A', 'B<GG F B<B d>B f>d c>B A/B/c'  
X:1
L:1/8
M:4/4
K:Gmin
 A | B<F F>E D<F F2 | D<G G>A B>c d<g | f>d c>B A/B/c A>F | D<G d>c B<GG :| F | B<B d>B f>d c>B | 
 A/B/c f>d c>f A>F | G>A B<d g/^f/g/a/ g>d | b>a g>^f g<g g>f | g/a/b g>d e/f/g e>c | 
 d/c/B/A/ B>G ^F>A D>c | B<d G<B c>e d>c | B>G B/A/G/^F/ G2 G :|  