Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:2/4
K:F
['c cF F!>!c', 'E!>!d dG/A/ B!>!d cF/G/ A!>!c cF F!>!d', 'eg f3'  
X:1
L:1/8
M:2/4
K:F
{/!>!A} c |:"F" cF F!>!c |"C7" cE E!>!d | dG/A/ B!>!d |"F" cF/G/ A!>!c | cF F!>!d |"Gm" dG GG/A/ | 
 Bc/d/ cE |1"F" F2 z{/A} c :|2"F" FA FG |:[K:C]"C" GE/G/ ee | cG/c/ ee |"G7" fe dc | BA GF | 
"C" EC/E/ GG | GE/G/ ce |"G7" fG AB |1"C" cG/G/ GG :|2"C" cc/c/ cF |:[K:Bb]"Bb" B3 F | d3 F | 
 Bd fd |"F7" e3 F | A3 F | c3 F | Ac eg |"Bb" f3 F | B3 F | d3 F | Bd fB |"Eb" G2 AB |"F7" cd eg | 
"Bb" f3 d/e/ |"F7" fc/d/ eG/A/ |1"Bb" BB B z :|2"Bb" Bd B z |]  