Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/4
M:3/4
K:C
['e) g (f e) d c3-']  
X:1
L:1/4
M:3/4
K:C
"^Allegretto" G/G/ | c3/2 (c/ G) | c2 (d/f/) | e (e d) | e2 (c/e/) | (g e) g | (f e) d | c3- | 
 c z (e/f/) | g (g e) | f2 (e/f/) | (g c) d | G3/2 A/ B | c d e | (f g a) | (g3/2 f/ e) | 
 (f3/2 e/ d) | (e3/2 d/ c) | d2 G/G/ | (c e) g | (f e) d | c3- | c2 |]  