Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:2/2
K:D
['f2 fd', '', 'a2 af b2 b2 gefg a2 a2'  
X:1
L:1/8
M:2/2
K:D
 f2 fd f2 fd | f2 fe dcde | f2 fd gfed | cdec d2 d2 |: |: a2 af b2 b2 | gefg a2 a2 | f2 fd gfed | 
 cdec d2 d2 :|  