Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
Q:1/4=100
M:2/2
K:F
['g (a/g/f/g/ a)f gecf edcB AGFg afda', 'c3 B ABc_e (d/c/B/c/ d)B GBdf ec=Bc'  
X:1
L:1/8
Q:1/4=100
M:2/2
K:F
 g | (a/g/f/g/ a)f gecf | edcB AGFg | afda gecf | edc=B c3 |: B | ABc_e (d/c/B/c/ d)B | 
 GBdf ec=Bc | bgec afcB | ABcE{E} F3 :|  