Construct a melodic piece using the prescribed alphabetical outline and provided motif.
X:1
L:1/8
M:2/4
K:G
['z3/2 A,/ A,>G,', 'A,4 A,<G, E,<C, D,D,/D,/ D, z D,D,', 'D,/D,/ D, z D, ||[M:3/4] D,3 z/', 'A,>G, [M:3/8] D,D,']  
X:1
L:1/8
M:2/4
K:G
 z3/2 A,/ A,>G, |]: A,4 | A,<G, E,<C, | D,D,/D,/ D, z | D,D, D,2 || 
[M:3/4] A,A,/G,/ E,/D,/B,, z E, ||[M:3/8] D,2 D,/D,/ | D, z D, ||[M:3/4] D,3 z/ A,/ A,>G, :| 
[M:3/8] D,D, z |]  