Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
Q:1/4=120
M:6/8
K:Dmin
['A2 d', 'A>GF F2 G A2']  
X:1
L:1/8
Q:1/4=120
M:6/8
K:Dmin
"^Lively." z | A2 d d>ef | A2 c c2 B | A2 d d>ef | A2 d d2 c | A2 f f>ga | A2 c c2 B | A2 G F2 G | 
 A2 d d2 :: B | A>GF F2 G | A2 c BAG | A>GF F2 G | A2 d d2 B | A>GF F2 G | A2 c BAG | A2 d d>ef | 
 A2 d d2 :|  