Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
Q:1/4=130
M:3/4
K:D
['EF G2 GF GA B2 BG Bc', 'Bd A2 AF AB']  
X:1
L:1/8
Q:1/4=130
M:3/4
K:D
|: EF | G2 GF GA | B2 BG Bc | dc cA Ac | cB BG EF | G2 GF GA | B2 BG Bc | dc cA Ac |1 B4 :|2 B6 |: 
 e2 ed eg | B2 BA Bd | A2 AF AB | ED B,4 | e2 ed eg | B2 BA Bd | A2 AF AB | E6 :|  