Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/4
M:4/4
K:C
['d d']  
X:1
L:1/4
M:4/4
K:C
 G G | G c c c | c c B c | d4- | d2 G G | G d d d | d d c d | e4- | e2 d e | f f f f | A A f f | 
 e e e d | c c e e | d d d d | c c B B | c4- | c2 ||  