Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:C
['EF ED']  
X:1
L:1/8
M:4/4
K:C
 A,A, A,C EE EA, | DD DE F3/2 G/ FD | E3/2 E/ EE ED CD | E8 | A,A, A,C EF EC | DD DE FG FD | 
 E3/2 E/ EF ED C/ B,3/2 | A,6 z A | AA Ac G3/2 G/ GE | FF ED E3/2 F/ EC | EE EF ED CD | E8 | 
 AA Ac G3/2 A/ GE | FF ED EF EC | EE EF ED CB, | A,6 z2 |]  