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
['d2 (fd)', 'ADFA B2 Bd (Ad)FA BEEB'  
X:1
L:1/8
M:4/4
K:D
 A | d2 (fd) A/A/A (fd) | egfe dBBc | d2 (fd) egfe | dBAF D/D/D D :| B | ADFA B2 Bd | (Ad)FA BEEB | 
 ADFA BcdA | BdAF D/D/D (DB) | ADFA B2 Bd | (Ad)FA BEEB | AFGA Bcde | fdef d/d/d d ||  