Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
Q:1/8=126
M:4/4
K:Amin
['A<e e>d e>d', "a>e a<c'"  
X:1
L:1/8
Q:1/8=126
M:4/4
K:Amin
 B |:"Am" A<e e>d e>d e<g |"G" B<G d>G e>Gd>B |"Am" A<e e>d e>d e<a |"Em" g>ed>B"Am" A/A/A B2 :| 
"Am" a>e a<c' a>e a<c' |"G" g>d g<b g>d g<b |"Am" a>e a<c' a>e a<c' |"Em" g>ed>B"Am" A/A/A A2 | 
"Am" a>e a<c' a>e a<c' |"G" g>d g<b g>d g<b |"Am" a<e e>^f"G" g>ab>a |"Em" g>ed>B"Am" A2 |]  