Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/4
M:3/4
K:none
['d g2 d', 'e3/2 d/ d'  
X:1
L:1/4
M:3/4
K:none
[K:G] D | G2 G | B2 B | d3 | B z d | g2 d | g2 d | f3 |"_c" c3 | A2 A |"_c" c2 c | f3 |"_c" c3 | 
 f z e | d z F | G G/G/ G | G z d || g3/2 g/ g | g f e | f3/2 f/ f | f z d | f3/2 f/ f | 
 f e"_c" c | e3/2 d/ d | d z B | e3/2 d/ d | d3/2"_c" c/ c | c3/2 A/ A | A z D | F3/2 F/ F | 
 F E D | G3/2 G/ G | G z z |]  