Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/4
Q:1/4=120
M:3/4
K:G
['g g', 'g (.g/.g/) g f'  
X:1
L:1/4
Q:1/4=120
M:3/4
K:G
"^Allegro moderato" (A/B/) | c B A | G G d | g g g | f d a | b a g | f e d | (c/e/) d c | (B A) || 
 g (.g/.g/) g | f (.e/.e/) d | g (.g/.g/) g | f (.f/.e/) d | (g/a/) b a | g (f e) | e (d/c/) B | 
 (A G) ||  