Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/16
M:2/4
K:C
['A2 G E G2']  
X:1
L:1/16
M:2/4
K:C
 A2 G E G2 A c | G8 | A2 G E G2 E c | G8 | G2 G A c4 | G A c2 G2 E2 | E D C2 E2 G2 | C8 |]  