Develop a musical piece using the given motif and adhere to the outlined musical structure.
X:1
L:1/16
Q:1/4=120
M:2/4
K:D
['(fe)fg afdA', 'D2 a2 a2f2 (bg)(bg) g2>e2 (af)(af) .g2.f2'  
X:1
L:1/16
Q:1/4=120
M:2/4
K:D
 A2 | [Fd]4 [Ae]4 | (fe)fg afdA | B2B2 g2>f2 | (fe)(^ga) A2>A2 | [Fd]2[Fd]2 [Ae]2[Ae]2 | 
 (fe)fg afdA | B2>g2 fedc | d4 D2 :: a2 | a2f2 (bg)(bg) | g2>e2 (af)(af) | .g2.f2 .e2.d2 | 
 (cdec) A2>G2 | FAGB AcBd | (gf)(ba) a2>g2 | (gfed) (Adce) | d4 D2 :|  