Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/4
M:4/4
K:Ddor
['c d', 'd2 A D A F D A3'  
X:1
L:1/4
M:4/4
K:Ddor
 D | A21/2 c d D | A3 A | =c3/2 A/ G ^F | G G2 G | A A A ^G | A3 A | c d e ^c | d d2 || A | 
 D A F D | A3 A | A G c c | F F2 A | A3/2 G/ F E | D/E/F/G/ A3/2 A/ | B/c/ d d ^c | d4 ||  