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
['d2 d A2 A BdB', 'a (a2 f) d2 b (g2 e)']  
X:1
L:1/8
Q:3/8=120
M:6/8
K:D
 A | d2 d A2 A | BdB A3 | Bcd efg | fed cBA | d2 d A2 A | BdB A2 g | fed edc | d3 D2 ::"^P" a | 
 (a2 f) d2 b | (g2 e) c2 a | f2 d B2 e | (cd).e A2 A |"^F" BdB cec | dfa a2 g | fed Adc | d3 D2 :|  