Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:2/4
K:G
['BB dd', 'BD G2', 'cd e2- ee dc ef g2- gg'  
X:1
L:1/8
M:2/4
K:G
 BB dd | c/B/c/e/ AA | ff ee | d/^c/d/g/ BB | BB dd | =c/B/c/e/ AA | ff/e/ d/c/B/A/ | GB G2 :: 
 BD G2 | BD G2 | FF/G/ Ac | cB ^A/B/c/B/ | BD G2 | BD G2 | FF/G/ =A/B/c/d/ | BB"^Dacapo" B2 :: 
[K:C]"^Trio" cd e2- | ee dc | ef g2- | gg fe | gf f2- | ff ed | fe e2- | ef ed | cd e2- | ee dc | 
 ef g2- | gg fe | gf f2- | ff ed | ee ff | ee e2 :|  