Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:4/4
K:D
['f>e g>f e>d'  
X:1
L:1/8
M:4/4
K:D
 F |"D" D>F A>B A<F A<d |"D" D>F"G" d>B"D" A<F"A7" E>F |"D" D>F A>B A<F A>g | 
"A7" f>d e>f"D" d<d d :| g |"D" f>e (3def"Em" g>f e>d |"A7" c<A e>A c>d e>g | 
"D" f>e (3def"Em" g>f e>d |"A7" c>d e>g"D" f<d dg ||"D" f>e (3def"Em" g>f e>d | 
"A7" c<A e>A c>d e>g |"D" f<d"A7" g<e"D" a<f"G" b>g |"A7" f>d e>f"D" d<d d :|  