Construct a musical composition following the designated musical form and incorporating the given motif.
X:1
L:1/8
Q:1/8=180
M:2/2
K:Cmix
['g2 g2', 'c2 fefg agfe d2 B2 B2 ef'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:Cmix
 fcfa fcfg | agfe f2 AB | c2 cd c2 cB | ABGA F2 c2 | fcfa fcfa | g2 g2 g2 ag | fedc =BcdB | 
 c2 e2 c2 c2 :: fefg agfe | d2 B2 B2 ef | g^fga bag=f | e2 c2 c2 (3cde | fcfa fcfa | gcgb gcgb | 
 agfa gfeg | f2 a2 f2 c2 :|  