Construct a melodic piece using the prescribed alphabetical outline and provided motif.
X:1
L:1/8
M:2/4
K:G
['dd B2']  
X:1
L:1/8
M:2/4
K:G
 dd B2 | dd B2 | edcB | B2 AG | GABc | dddB | edcA | A2 G z |]  