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
['a2 fa gg/f/'  
X:1
L:1/8
M:2/4
K:D
"D" a2 fa |"A7" gg/f/ e2 |"D" f2 df |"A7" e2 A2 |"D" a2 fa |"A7" gg/f/ eg |"D" fd"A7" eA | 
"D" d2 z2 ::"A7" eA eA |"D" f/e/f/g/ a2 |"A7" eA eA |"D" f/e/f/g/ a2 | a2 fa |"A7" gg/f/ e2 | 
"D" fd"A7" ec |"D" d2 z2 ::"D" d>e fa |"A7" a/g/f/g/ e2 | g/f/e/d/ cc | e/d/c/B/ A2 |"D" d>e fa | 
"A7" a/g/f/g/ e2 |"D" d/e/f/g/"A7" a/f/g/e/ |"D" d2 D2 :|  