Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/16
Q:1/4=104
M:2/4
K:D
['dedA fgfd a2a2 a2f2 gage', 'd4 gage fafd cdec A4 ABcd efge'  
X:1
L:1/16
Q:1/4=104
M:2/4
K:D
 A2 | dedA fgfd | a2a2 a2f2 | gage fgfd | e2e2 e2A2 | dedA fgfd | a2a2 a2f2 | gage faec | d2d2 |1 
 d2 :|2 d4 || ABcd efge | f2d2 d4 | gage fafd | cdec A4 | ABcd efge | f2d2 d4 | fgae cdec | 
 d2d2 d4 :|  