Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
Q:1/8=120
M:6/8
K:F
['A2 B', 'B A2 c', 'b bag gfe gef e2 A d2'  
X:1
L:1/8
Q:1/8=120
M:6/8
K:F
 c | c2 d A2 B |{d} c2 c caf | ebg ecG | BAA A2 B | c2 d A2 B |{d} c2 c caf | dBG EcE | 
 G3 F"^*" z || F | E2 G c2 B | A2 c F2 c | ^cdA ^cBG | F3 E2 F | E2 G c2 B | A2 c Fag | geg fd=B | 
 d3 c2 || A | d2 f afd |{d} ^c2 c c2 b | bag gfe | gef e2 A | d2 f d2 A | B2 ^F GAB | 
 Ac=F"^D Capo" AGE | D2 z2 ||  