Craft a musical work utilizing the specified alphabetical formation and given motif.
X:1
L:1/8
Q:1/4=100
M:6/8
K:C
['g g^fg (ec)g g^fg (fd)g gfg a2', 'c2 c', 'c3 B3']  
X:1
L:1/8
Q:1/4=100
M:6/8
K:C
 g | g^fg (ec)g | g^fg (fd)g | gfg a2 f | d2 f ec"^NB1" :: G | c2 c c2 c | edc cBA | GBd GBe | 
 fdB c2 || G | c3 B3 | A3 a3 | (ag).e (gf).e | c3 B3 | cde def | efg fga | (ag)e (gf)e | 
 d3 c2"^D Capo" |]  