Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:5/4
K:C
['z A']  
X:1
L:1/8
M:5/4
K:C
 G | A3/2 B/(A/G/) AB A z E | G3/2 E/ DD D2 z A |[M:5/4] B3/2 d/ e d2 d/B/ A2 z (D/E/) | GB AG | 
 A3 z A | B2 de d d/B/(G/E/)(D/E/) GA | BA B z2 (e/d/) cB(A/G/)(E/G/) | B A2 GE D/E/ D/ D3/2 D2 | 
 z ||  