Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/4
Q:3/4=90
M:6/4
K:Gmin
['A B', 'A c3-', 'A B'  
X:1
L:1/4
Q:3/4=90
M:6/4
K:Gmin
 B3 | A B G A G ^F | G3 B3 | B B G A G"^NB" ^F |1 G3"^*" :|2 G3- G2 ||"^*" |: A | B A B c B A | 
 c3- c2 A | B c d e d c | d3 A3 | B A B c B A | c3 B3 | A B G A G ^F |1 G3 G2"^*" :|2 G3 |]  