Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
Q:3/8=120
M:6/8
K:Dmin
['d e^cA f2 d', 'G2 B']  
X:1
L:1/8
Q:3/8=120
M:6/8
K:Dmin
 A2 d ^c2 d | e^cA f2 d | e^cA f2 d | ge=c ceg | A2 d ^c2 d | e^cA f2 d | f/g/af e2 d | ge^c d3 :: 
 dcB AGF | E2 G F2 A | G2 B A/B/cA | G2 B A/B/cA | dcB AGF | E2 G F2 A | G2 B A2 d | ^c/d/ec d3 :|  