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