Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:2/4
K:D
['d2 df', 'afaf d2'  
X:1
L:1/8
M:2/4
K:D
 A | d2 df | d2 df | ecAc | ecAc | d2 df | d2 df | ecAc | d3 :: f | afaf | d2 dg | bgbg | e2 ef | 
 afaf | d2 df | ecAc | (d2 d) :|  