Construct a musical composition utilizing the provided motif and conforming to the specified structure.
X:1
L:1/8
Q:1/8=100
M:6/8
K:G
['G>AB .g.d.B', '(ed).B d>ed d2 f g2 d (ed)B', "(c'>ba) (g>fe)"  
X:1
L:1/8
Q:1/8=100
M:6/8
K:G
 B/A/ |"^$" (G>A).B .g.d.B | d2 d d2 e | G>AB .g.d.B |{A} A2 A A2 B | G>AB .g.d.B | d>ef g2 f/e/ | 
{e} d>cB{d} c>BA | G2 G G2 || f | (g2 d) (ed).B | d>ed d2 f | g2 d (ed)B | A2 A A2 f | 
 (g2 d) (ed)B | def g2 f/e/ | d>cB c>BA | G2 G G2"^$" ||[K:D] d | c>de A>Bc | d>fa a2 b | 
 (c'>ba) (g>fe) | (f>ga) e2 d | (c>de) (A>Bc) | (d>fa) a2 d' | (c'>ba) (g>fe) | dec e"^$" c ||  