Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/8
M:3/4
K:C
['z A e3 f e4']  
X:1
L:1/8
M:3/4
K:C
 z A e3 f | e4 (d2 | d)c/d/ BA Ad | dc/B/ (A4 | A)B ce AA/G/ | AB c2 B2 | A6 | z A e3 f | e4 d2 | 
 dc/d/ BA A/B/c/d/ | e3 c/B/ (A2 | A2) d>e dc/d/ | BA A/B/c/d/ e2 | ec/d/ A4 | d>e dc/d/ B2 | 
 B/A/G/E/ A3 A | Bd Bc AA/G/ | A/A/G/A/ Bd Bc | A/c/A/G/ A2 Bd | c/d/c/d/ A3 E | Ae ^fd e2 | 
 c2 d/c/d/e/ ed/e/ | cB/A/ Bc de | AA/G/ Ad c>B A2 | AB ce AA/G/ | AB c2 B>A | A6 ||  