Create a piece of music utilizing the given motif and adhering to the specified structure.
X:1
L:1/8
M:4/4
K:Dmin
['', 'A A>^c de f2 (ag) e(f/e/) dT^c', 'g(a/g/) e^c'  
X:1
L:1/8
M:4/4
K:Dmin
 A |: A>^c de f2 (ag) | e(f/e/) dT^c A2 (F/G/)A/=B/ | c(c/d/) cT=B G2 (G/A/)B/c/ | 
 d(e/d/) =BG A3 A :: AF (F/G/)F/E/ FF/A/ cA | AG (G/A/)G/E/ G=B d(e | f)(g/f/) e^c A2 (c/d/)e/f/ |1 
 g(a/g/) e^c d3 A :|2 g(a/g/) e^c d3 |]  