Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/16
M:2/4
K:D
['[DA,]2FA (Ad)ef (gf)ed (dc)BA', '(Ad)fd (Ac)ec'  
X:1
L:1/16
M:2/4
K:D
 [DA,]2FA (Ad)ef | (gf)ed (dc)BA | G2[GB]2 F2[FA]2 | [A,E]2A2 GFE2 | [DA,]2FA (Ad)ef | 
 (gf)ed (dc)BA | (gf)ed (dc)Bc | d2[df]2 [df]2 z2 :: (Ad)fd (Ac)ec | (Ad)fd (Ac)ec | (AG)BG F2AA | 
 (AG)BG F2AA | (Ad)fd (Ac)ec | (Ad)fd (Ac)ec | (AB)cd (eg)ec | e2[df]2 [df]2 z2 :|  