Develop music that conforms to the outlined musical structure and the given theme.
X:1
L:1/8
M:4/4
K:D
['e>A (3AAA', 'e>a a>f'  
X:1
L:1/8
M:4/4
K:D
 a>f | e>A (3AAA A>B c>d | e>A (3AAA (a2 a>)f | e>A (3AAA A>B c>d | e>f g>e d2 :: c>d | 
 e>a a>f g>f e>d | e>a a>f g2 e>d | e>a a>f g>f e>d | e>f g>e d2 :|  