Formulate music by adhering to the alphabetic portrayal of the designated musical layout and the motif given.
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
['e f2 d', 'A2 G F2 E', 'f3 [M:2/4][K:F][Q:1/4=150] C F>GAB c>dcA BAGF GEDC', 'F4 fc-cf gc-cg bagf (g/f/e/d/) c2 dB-Bd']  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
 d2 e f2 d | g2 e f2 d | c2 d ecA | c3 e3 | d2 e f2 d | g2 e f2 d | fga A2 A | B3 d3 :: A2 G F2 E | 
 FGA D2 D | d2 c B2 A | c3 e2 B | A2 G F2 E | AGF EFD | a2 g f2 e | d3 f3 :| 
[M:2/4][K:F][Q:1/4=150] C | F>GAB | c>dcA | BAGF | GEDC | F>GAB | c>dcf | c>AG>A | F4 :: fc-cf | 
 gc-cg | bagf | (g/f/e/d/) c2 | dB-Bd | cA-Ac | Gf (a/g/f/e/) | f3 :|  