Compose music that abides by the dictated structure and encompass the given theme
X:1
L:1/8
M:4/4
K:C
['d2 A AFA', 'fga bag fga'  
X:1
L:1/8
M:4/4
K:C
 BEA |[M:6/8][K:D]SOSOO .!fermata!PMTuCOMf/e/ | d2 A AFA | BGB A2 f/e/ | d2 A AFA | g3 f2 d | 
 d2 A AFA | Bdg b2 b/b/ | aba agf | e3 d2 :: a | fga bag | fga bag | fga fga | efg gfe | fga bag | 
 fga baa | aba agf | e3 d2 :|  