Craft a musical work utilizing the specified alphabetical formation and given motif.
X:1
L:1/8
Q:3/8=100
M:6/8
K:D
['a f2 d d2 d', 'A2 a (f2 d) (=c2 A) (B2']  
X:1
L:1/8
Q:3/8=100
M:6/8
K:D
 a | f2 d d2 d | Td>cd A2 d | B2 d A2 d | F2 E D2 a | f2 d d2 d | ^gfg a2 d | cBA TB3 | A3- A2 :: 
 a | (f2 d) (=c2 A) | (B2 ^d) (e2 b) | (g2 e) (d2 B) | c2 e a2 g | fdd bgg | aff gab | agf edc | 
 d3- d2 :|  