Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
Q:1/2=100
M:4/4
K:F
['fe f2 F2 A2 c2 d6 c2', 'ag a2 f2 g2 a2 b6 a2'  
X:1
L:1/8
Q:1/2=100
M:4/4
K:F
 fe | f2 F2 A2 c2 | d6 c2 | defd efgf | e3 d c2 fe | f2 F2 A2 c2 | d6 c2 | defd efge | f6 :: ag | 
 a2 f2 g2 a2 | b6 a2 | bagf efef | gfed c2 ag | a2 f2 g2 a2 | b6 a2 gfed c2 e2 | f6 :|  