Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
M:6/8
K:D
['DED FED F2 A d2 A |{A}', 'E2{FE} D']  
X:1
L:1/8
M:6/8
K:D
 DED FED | F2 A d2 A |{A} Bcd A2 F | E2 D B3 | DED FED | F2 A d2 A |{A} Bcd AGF |1 E2{FE} D D3 :|2 
 E2{FE} D D2 B || A2 F FEF | d2 B BAB | f2 B BAB | a2 f fef | gfe fed | deA d2 A |{A} Bcd A2 F |1 
 E2{FE} D D2 B :|2 E2{FE} D D2 ||  