Formulate music by adhering to the alphabetic portrayal of the designated musical layout and the motif given.
X:1
L:1/8
Q:1/4=100
M:4/4
K:Dmix
['d>d d>B d>e g2 e>e e>d e>fg>a', "d4 b>b b>a b>c' d'2 a>a a>g"]  
X:1
L:1/8
Q:1/4=100
M:4/4
K:Dmix
 d>d d>B d>e g2 | e>e e>d e>fg>a | b>c' a>b g>ab>a | g>e e>d d4 :: b>b b>a b>c' d'2 | 
 a>a a>g a>b c'2 | d'>b a>b g>a b>a"^NB" | g>e e>d d4 :|  