Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/4
Q:3/4=80
M:6/4
K:D
['A F2', 'e f g2 f'  
X:1
L:1/4
Q:3/4=80
M:6/4
K:D
 D2 A F2 B | A F2 E2 D | d2 f e c2 | B3 A3 :| a2 g f c2 | d2 e B e f | g2 f e c2 | B3 A B c | 
 d2 c B F2 | G2 F E B c | d e f g2 f | e3 d3 :|  