Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:4/4
K:D
['D2 FD EFGA']  
X:1
L:1/8
M:4/4
K:D
 D2 FD EFGA | BEGE BEGE | D2 FD EFGA | BGEG FD D2 :|  