Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/4=168
M:6/8
K:G
['G2 G (ABd)', 'E2 (e/f/) g>fe a>gf g>fe def dBG'  
X:1
L:1/8
Q:1/4=168
M:6/8
K:G
"^Vivace" z | G2 G (ABd) | edB TA2 B | G2 G (ABd) | e>de E2 :: (e/f/) | g>fe a>gf | g>fe def | 
 !fermata!g>ab dBG | A2 B E2 :|  