Compose a piece of music that follows the specified structure and incorporates the given theme.
X:1
L:1/4
M:2/2
K:F
['A B', 'z A G A B c3 B', 'z c2 F2 F2 d2 c A'  
X:1
L:1/4
M:2/2
K:F
 F G A B | c c c2 | B c d2 | c3 z | c c B B | A A G2 | A B G2 | F3 z |: A G A B | c3 B | A3 z :| 
 c2 F2 | F2 d2 | c A G2 | F3 z |]  