Compose a piece of music that follows both the given musical theme and the letter-based structure provided.
X:1
L:1/8
Q:1/4=120
M:4/4
K:C
['(3(GAG) .^F2 .G2 .c2 .d2 e6 (fe)', 'g2) (3(GAG) .^F2 .G2 .c2 .d2 e6', 'G6 (3(GAG) .^F2 .G2 =f2 e2 d6', 'd6 (3(GAG) ^F2 G2 c2 e2 (a4']  
X:1
L:1/8
Q:1/4=120
M:4/4
K:C
"^Spirited" (3(GAG) | .^F2 .G2 .c2 .d2 | e6 (fe) | .d2 .^c2 .d2 .e2 | (d4 g2) || (3(GAG) | 
 .^F2 .G2 .c2 .d2 | e6 (^fg) | .g2 Be .d2 AB | G6 |] | (3(GAG) | .^F2 .G2 =f2 e2 | d6 (3(GAG) | 
 ^F2 G2 =f2 e2 | d6 || (3(GAG) | ^F2 G2 c2 e2 | (a4 gfed) | (fe)(Bc) (ed)(AB) | c6 |]  