Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
M:2/2
K:Ddor
['D/D/D D2', 'AGG f d/d/d (TcA) f>gaf d g2']  
X:1
L:1/8
M:2/2
K:Ddor
 A | D/D/D D2 F>GAF | G/G/G BG cABG | D/D/D D2 F>GAc | d/d/d cd AGG :| f | d/d/d (TcA) f>gaf | 
 d g2 g/a/ bgag | fdTcA f>gag | fdTcB AGG :|  