Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/4
M:3/4
K:Gmin
['d d', 'b b', 'a a'  
X:1
L:1/4
M:3/4
K:Gmin
 d/ | g/a/ b b | b b/a/ g | g/g/ ^f d | d d d/c/ | B B B/c/ | d d d/c/ | B d c | c B G || 
 g/a/ b b | b b/a/ g | g/g/ ^f d | d d d'/c'/ | b b b/a/ | g b a | a a g | ^f g g || d' d' d'/c'/ | 
 b b b/c'/ | d'/b/ c' c' | c'/b/ a a/b/ | c'/a/ b b/a/ | g b/a/ a | g ^f d | d d d/c/ | B B B/c/ | 
 d'/e/ f/d/ g | ^f/g/ a a | a a d'/c'/ | b b b/a/ | g b a | a a g | ^f g g ||  