Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/8
M:2/2
K:Dmix
['f B3', 'a2 fd'  
X:1
L:1/8
M:2/2
K:Dmix
 fe | dfag f B3 | fBaB f B3 | dfeg f B3 | dfaf g2 :| fe | defg a2 fd | ddba a2 fd | e B3 a2 fd | 
 ddbf g2 :|  