Construct a melodic piece using the prescribed alphabetical outline and provided motif.
X:1
L:1/8
M:2/4
K:C
['A G E G A4 d c']  
X:1
L:1/8
M:2/4
K:C
 A G E G | A4 | d c c A | C4 | D A,3 | G E2 C/ D/ | A3/2 G/ E C | A,4 |]  