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
['dfdf (g/f/e/d/) (d/c/B/A/)', 'ecfd geaf'  
X:1
L:1/8
M:2/4
K:D
|: dfdf | (g/f/e/d/) (d/c/B/A/) | dfdf | aa a2 | dfdf | (g/f/e/d/) (d/c/B/A/) | Bgec | d2- d2 :: 
{cd} ecfd | geaf | B2 cd | (c/d/c/B/) A2 | ecfd | geaf | Gb (a/g/f/e/) | d2- d2 :|  