Craft a musical piece that incorporates the given motif and follows the outlined structure.
X:1
L:1/8
M:4/4
K:D
['dcAB =cG (3GGG', 'dBAF DA, (3B,=C^C D2 (3DDD ADFA G=CEG', 'dcAB =cG (3GGG'  
X:1
L:1/8
M:4/4
K:D
 Dddc d3 e | fdec dcAB | =cG (3GGG ec (3ccc | g=cfg a2 fg | aAfa g2 fe | dcde dcAB | 
 =cG (3GGG cdeg | fgec dBAF :: DA, (3B,=C^C D2 (3DDD | ADFA G=CEG | FDDC Ddde | 
 (3faf ec d2 (3ef^g | a3 f g2 fe | fd (3edc dcAB | =cG (3GGG cdeg | fgec dBAG :| FAEA D2 dD | 
 DdAd (3Bcd eg | faec dcAB | =cG (3GGG efge | aAfa g2 fe | dcde dcAB | =cG (3GGG cdeg | fgec dBAG | 
 FAEA D2 dD | (3DDD dA (3Bcd eg | fage fd (3ddd | dfec d2 fg | aAfa g2 fe | dcde dcAB | 
 =cG (3GGG cdeg | fgec d4 ||  