Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/8
M:2/4
K:G
['cAA B/c/ BG GD E/F/G AB', 'ed B/c/ d ef ge fd ea'  
X:1
L:1/8
M:2/4
K:G
 e>d | cAA B/c/ | BG GD | E/F/G AB | cd ed | cAA B/c/ | BG GD | E/F/G AB |1 AE AB ||2 A2 A2 || 
 a2 a>f | ge ed | B/c/ d ef | ge fd | ea ag/f/ | ge ed | c/B/A Bc |1 d2 e2 ||2 d4 ||  