Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/4
M:4/4
K:C
['C D E G']  
X:1
L:1/4
M:4/4
K:C
 C | D E G E/E/ | D/D/ C C C | D E G E | D2 z C/E/ | G3 G/G/ | E/D/ C2 E | D3/2 E/ D A, | 
 G, A, C E | D3/2 E/ C A, | G,3 z |]  