Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/16
M:2/4
K:D
['(AF) D2(FG) A2(Bc) (de)(fd) e2(dB) A2(AB)']  
X:1
L:1/16
M:2/4
K:D
 (AF) | D2(FG) A2(Bc) | (de)(fd) e2(dB) | A2(AB) A2(FA) | (AB) d2d2 | (AF) | D2(FG) A2(Bc) | 
 (de)(fd) e2(dB) | A2(AB) A2(FD) | E2D2 D2 | (AF) | (AB)(de) f2(ef) | g2f2 e2(de) | f2e2(dB)(AB) | 
 (AB) d2d2 | (AF) | D2(FG) A2(Bc) | (de)(fd) e2(dB) | A2(AB) A2(FD) | E2D2 D2 ||  