Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/4
Q:1/4=180
M:4/4
K:G
['A3/2 G/ F G', 'f f g f'  
X:1
L:1/4
Q:1/4=180
M:4/4
K:G
 A3/2 G/ F G | A/B/ c/A/ B G | A3/2 G/ F G | A d d2 | A3/2 G/ F G | A/B/ c/A/ B G | A d ^c e | 
 d2 d2 :: f f g f | d/e/ d/B/ A2 | f f g f | d3/2 B/ A2 | f f g f | d/e/ d/B/ A B | c B c G |1 
 A A/B/ c d :|2 A4 |]  