Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:4/4
K:C
['cgge g3 a', 'GA e2 dc A2 GA |1 cdcA'  
X:1
L:1/8
M:4/4
K:C
|: cgge g3 a | g2 eg gede | cgge g3 a |1 gede AGAB :|2 gede a4 |: e2 dc A2 GA | e2 dc A2 GA | 
 e2 dc A2 GA |1 cdcA GAcd :|2 cdcA g4 ||  