Using the provided motif, produce a musical composition that follows the prescribed musical form.
X:1
L:1/4
Q:1/4=160
M:3/4
K:G
['g/g/ g2 (f/e/) d B e/e/ e2', 'A z/ F/', 'd c', 'A/B/A/ (e2 c) d{/e} (d/c/d/f/) a3 g'  
X:1
L:1/4
Q:1/4=160
M:3/4
K:G
 g/g/ | g2 (f/e/) | d B e/e/ | e2 (d/c/) | B G B/B/ | B2 (A/G/) | A D A/A/ | A2 (G/F/) | G D g/g/ | 
 g2 (f/e/) | d B e/e/ | e2 (d/c/) | B G B/B/ | B2 (A/G/) | G F E | ^D B2 | B z :: d- | d2 B | 
 B d g | g f2 | f2 A | (c2 A) | F A c | e3/2 (e/d/c/) | c B d | (d2 B) | G g2 | (e2 c) | G f2 | 
 g B B/c/ | d f2 |1 g z :|2 g z z |]:[K:D]{/B} A z/ F/ D | d z/ A/ F |{/B} A z/ F/ D | f3 | f e d | 
 d c B | B A G | G F D |{/B} A z/ F/ D | d z/ A/ F |{/B} A z/ F/ D | f3 | e d c | d c B | 
 A3/2 a/ a | a z z ::[K:G] B/A/(^G/A/B/A/) | (e2 c) | d{/e} (d/^c/d/f/) | a3 | g z/ f/ e | 
{/g} f z/ e/ d |{/f} e z/ d/ c |{/e} d (c/B/) a | B/A/^G/ A/B/A/ | (e2 c) | d{/e} (d/c/d/f/) | a3 | 
 g z/ f/ e |{/g} f z/ e/ d | c a c | d2 z :|  