Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:3/4
K:D
['(a>g) e>c (cd)'  
X:1
L:1/8
M:3/4
K:D
|:"D" a^g/a/ b>a (f>d) |"A" (3fgf (e>d) e>f |"A7" (3gfg (a>g) e>c |1,3"D" (cd) db a2 :|2,4 
"D" (cd) d4 ::"D" f2 Af Af |{g} f>e (e>d) e>f |1,3"G" g2 Bg Bg |"D" (gb) a^g (a2 :|2,4 
"A7" (3g)fg (a>g) e>c |"D" (cd) d4 :|  