Compose a piece of music that integrates the given motif and follows the specified musical form.
X:1
L:1/16
M:2/4
K:D
['f2 f e d2 B d']  
X:1
L:1/16
M:2/4
K:D
 f2 f e d2 B d | e2 F2 E4 | f2 f e d2 B d | d2 F2 E4 | e2 e2 f2 e d | A2 B A D3 E | A2 A B d2 F2 | 
 E2 F E D4 |]  