Construct a melodic piece using the prescribed alphabetical outline and provided motif.
X:1
L:1/8
M:3/4
K:C
['ag e2 eg']  
X:1
L:1/8
M:3/4
K:C
 e4 cA | G2 GABc | defefd | g2 e2 c2 | e4 cA | G2 GABc | defefd | c4 eg | ag e2 eg | ag e2 eg | 
 gfdGBd | fe e2 cg | ag e2 eg | ag e2 eg | gfdGBd | fe e2 e2 |]  