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
['f2 fg ed', 'c>B Ac ef'  
X:1
L:1/8
M:2/4
K:D
|: e/ | f2 fg | ed c/B/A | f2 f>g | e/d/c d>e | f2 fg | ed c>B | Ac ef |1 g/e/c d3/2 :|2 gc d2 |: 
 ed cA | ed c>B | Ac ef | ge d2 | e>d c/B/A | ed c>B | Ac ef |1 gc d2 :|2 gc d3/2 ||  