Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:4/4
K:D
['FDD>g Tf2 d>f', '|{G} F>DA>D B>DA>D'  
X:1
L:1/8
M:4/4
K:D
 A | FDD>g Tf2 d>f | e>fg>f{f} e2 E>G | FDD>g Tf2 d>f | e<gf<a d2 d :| A |{G} F>DA>D B>DA>D | 
{G} F>DA>F GEEA |{G} F>DA>D B>DA>D | B<dc<e d2 d>A |{G} F>DA>D B>DA>D |{G} F>DA>F GEEA | 
{G} FDAF BGcA | B<dc<e d2 d |]  