Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
Q:1/4=120
M:4/4
K:F
['f2 f>f', "(ab) c'aff b>ga>f g2 c>c c2!p! A>B"  
X:1
L:1/8
Q:1/4=120
M:4/4
K:F
 f2 f>f f2 g/f/e/d/ | c2 c>c c2 a>f |{e} d2 b>g{f} e2 g>e | f2 f>f f2!p! (ag) | g2 ef gg(ag) | 
{g} f2 (de) ff(gf) |{f} ed/e/ g/f/e/d/ c2 =B2 | c2 c>c c2"^NB1" z2 :: c2 c>d e>fg>a | 
 b2 g>b a2 (ab) | c'aff b>ga>f | g2 c>c c2!p! A>B | c2 d>e f2 a>f |{e} d2 b>g a2 (3cfa | 
 c'aff agfe | f2 f>f f2"^NB1" z2 :|  