Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/4
M:3/4
K:F
['.d .e (f3', 'g3/2 f/', "(d'3 d') c'3/2 b/ (a2 g) (e'2"  
X:1
L:1/4
M:3/4
K:F
"F" (c3 | c) .d .e | (f3 | f) .e .d |"C7" (d2 c) | (e2 c) | (g2 c) | c'3/2 b/ g/e/ |"F" (c3 | 
 .c) .d .e |"F" (f3 | .f) .e .d |"C" c3/2 e/ g |"G7" =B3/2 d/ g |"C" c3/2 c'/ c' | 
 !>!c' !>!c' !>!c' :|"C7" b3/2 a/ g | g3/2 f/ e | e3/2 d/ c | c3 |"F" c'3/2 b/ a | a3/2 g/ f | 
 f3/2 e/ d | c3 | (Ta3{ga)} |"Gm" (b d g) |"C7" (Tg3{fg)} |"F" a c f |"C7" e d3/2 B/ |"F" A c f | 
"C7" e f g |"F" a3 | (Ta3{ga)} |"Gm" b d g |"C7" (Tg3{fg)} |"F" a c f |"C7" e3/2 d/ B | 
"F" (A c f) |"C7" e f g |"F" f z z |:[K:Bb]"Bb" (f3 | f) g3/2 f/ | (b3 | f3) | (d3 | d) g3/2 f/ | 
"F7" (f3 | A2) z | (f3 | f) g3/2 f/ | (c'3 | f3) | (c3 | c) g3/2 f/ |"Bb" f3 | B2 z | (d'3 | 
 d') c'3/2 b/ |"Cm" (a2 g) | (e'2 c') |"F7" (b2 a) | (g2 a) | b c' ^c' |"Bb" d'3 | (d'3 | 
 d') c'3/2 b/ |"Cm" (a2 g) | (e'2 c') |"F7" (b2 a) | (g2 a) |"Bb" b3/2 b/ b | b z z :|  