Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
Q:1/2=80
M:4/4
K:F
['A>B AF']  
X:1
L:1/8
Q:1/2=80
M:4/4
K:F
 A>B | c>d c>A f2 c/d/c/B/ | A2 F2 F3 G | A<F EF (A3/2B/4c/4) B/A/G/F/ | E<G G>A G3 G | 
 c>d cG FE DC | (c/4d/4e3/2) d>e c3 c | c<A c>d cB GA | B<G B>c BA F>G | A<F (F3/2G/4A/4) D2 G>A | 
 B<d DB/G/ FE F>G | A>B AF cF FG | A>B AF !fermata!fc AF | (D3/2E/4F/4) (B3/2c/4d/4) A>B TG2 | 
 F4 (d3/2e/4f/4) cd/B/ | A>B TG2 F2 |]  