Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/4
Q:1/2=80
M:2/2
K:G
['B A'  
X:1
L:1/4
Q:1/2=80
M:2/2
K:G
"G" G3/2 A/ B B |"C" c B A c |"G" B A G F |"C" E2"D" D2 |"G" G3/2 A/ B B |"C" c B A c | 
"G" B/A/ G"D" G F |"G" G2 G2 ::"G" d c/B/ A B |"C" c B/A/ G B |"G" A G F G |"D" A2 A2 | 
"G" d c/B/ A B |"C" c B/A/ G B |"G" A G"D" G F |"G" G2 G2 ::"Gm" _B A/G/ B A/G/ |"D" F G A2 | 
"D" D E F G |"D" A _B A G |"Gm" _B A/G/ B A/G/ |"D" F G A2 |"D" D E F G |"D" G ^F"Gm" G2 :|  