Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/4
M:4/4
K:C
['A G3 G']  
X:1
L:1/4
M:4/4
K:C
 G | c2 B A | G3 G | A2 G F | E3 G | G F F E | D3/2 E/ F A | A G ^F A | G3 G | c2 B A | G3 G | 
 A2 G F | E3 G | G F F E | D3/2 E/ F A | A G ^F A | G3 G | G c c c | c3/2 d/ e c | B d d d | 
 d3/2 e/ f d | e2 d d | c2 z f | e c d d | c3 |]  