Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/16
M:12/16
K:Bb
['d2c B3 B,3 dcB AGF E3 g3-', 'b2a g2^f g2a', 'g3 A,2C F2A c2f a2g f2=e f2g'  
X:1
L:1/16
M:12/16
K:Bb
 d2c | B3 B,3 dcB AGF | E3 g3- g3 f2e | dfd B3 cec A2c |1 B2b a2g f2e :|2 B3{a} b3 B3 z3 || | 
{A,} B,2D F2B d2f b2a | g2^f g2a g3- g3 | A,2C F2A c2f a2g | f2=e f2g f3 z3 | 
{A,} B,2D F2B d2f b2a | g2^f g2a g3 =f2e | dfd B3 cec A2c | B3{a} b3 B3 || |{A,} B,2D F2B d2f b2a | 
 g2^f g2a g3- g3 | A,2C F2A c2f a2g | f2=e f2g f2_e d2A, |{A,} B,2D F2B d2f b2a | 
 g2^f g2a g3 =f2e | dfd B3 cec A2c | B3{a} b3 B3 |]  