Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/4
M:6/4
K:D
['f3/2 e/ f', 'f g'  
X:1
L:1/4
M:6/4
K:D
 a | f3/2 e/ f B c d | e2 e e2 a/g/ | f3/2 e/ f A B c | d2 d d2 :: d/=c/ | B2 B B3/2 A/ G | 
 G2 g g3/2 f/ e | f g a a2 ^g | a2 a a3/2 g/ f | e g2 f3/2 e/ d | B e2 c3/2 B/ A | 
 a f g e3/2 d/ c | d2 d d2 :|  