Develop melodic phrases by utilizing the given motif and following the predetermined musical arrangement.
X:1
L:1/8
M:6/8
K:Dmin
['d2 e f2 g', 'gfe d2 d d^c=B A3 A2 =B'  
X:1
L:1/8
M:6/8
K:Dmin
|: d2 e f2 g | aga Tf2 e | d2 e f2 g | aga d3 :: gfe d2 d | d^c=B A3 | A2 =B Tc2 d | e2 f e2 e | 
 gfe d2 d | d^c=B A3 | A2 =B Tc2 d | e2 f d3 :|  