Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
M:4/4
K:C
['ABc ded def AGF', 'agf gfe dBG', 'B AGF G2 A BGE E2 (f/g/)']  
X:1
L:1/8
M:4/4
K:C
 BEA |[M:6/8][K:D]SOSOO .!fermata!PMTuCO(MG | F)DF ABc | ded def | AGF G2 A | BGE E2 G | FDF ABc | 
 ded def | AGF BAG | FDD D2 :: (g | f)df agf | gfe dBG | AGF G2 A | BGE E2 [Gg] |1 fdf agf | 
 gfe dBG | AGA BAG | FDD D2 :|2 FDF ABc | ded def | AGF BAG | FDD D2 |: (g/f/) | eAA Agf | 
 edc d2 B | AGF G2 A | BGE E2 (f/g/) | agf gfe | ded def | AGF BAG | FDD D2 :|  