Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:2/4
K:D
['FA AB/c/', 'd2 f/g/a de fa a/b/a/f/ g/a/b e>f'  
X:1
L:1/8
M:2/4
K:D
|: FA AB/c/ | d2 d2 | BA B/c/d | e>d ef | FA AB/c/ | de f>e | dB Af | e2 d2 :: f/g/a de | 
 fa a/b/a/f/ | g/a/b e>f | gf/g/ ba | fa e/f/g/e/ | d>e f>e | dB Af |1 e2 d>e :|2 e2 d2 ||  