A critical point here is to note that _the total number of tickets is not set a priori_. This is good, because it makes the expected utility function non-linear in $t_i$, and so permits us to proceed (half-way). Writing $S$ for the total number of tickets and $S_{-i}$ for the total number minus the purchases of one bunny, and simplifying, the expected utility is $$\mathbb{E}[u_i(t_i, g_i)] = \frac{t_i}{S}\cdot g_i(C,x) -pt_i \tag{1}$$ The first order condition for utility maximization of one bunny with respect to number of tickets bought is, $$\frac {\partial \mathbb{E}[u_i(t_i, g_i)]}{\partial t_i} = \frac{S_{-i}}{S^2}g_i(C,x) - p=0$$ $$\implies t_i = \left(\frac {S_{-i} g_i(C,x)}{p}\right)^{1/2} - S_{-i} \tag{2}$$ Now the way the problem is formed, I understand that all bunnies are identical, as regards their preferences. It also appears that there is no income constraint here. So with respect to the fox's scheme, the bunnies are totally identical, and each bunny will buy the same number of tickets. So $S_{-i} = (n-1)t_i$ and $(2)$ becomes $$t_i = \frac {n-1}{n^2}\frac {g_i(C,x)}{p} \tag{3}$$ Moreover the profits of the fox are _certain_: there is no probability of graver loss other than refunding one bunny. So we have with certainty, $$\pi = (n-1)pt_i \tag{4}$$ We get $$(3),(4) \rightarrow \pi = \left (\frac{n-1}{n}\right)^2\cdot g_i(C,x)$$ and maximum profits are where the $g$ function is maximized, which determines $x^*$. And this is where the problem lies here: ticket price remains indeterminate. The profit function is linear in price, this is the problem. While this is standard in a perfectly competitive environment, here we have a monopoly. To fix this, one should go back to the expected utility function and change its quasi-linear form, and assume instead concave utility in $pt_i$, $v(pt_i), v'>0, v''<0$. This will maintain price as an argument of the profit function together with $x$, and maximization of profit with respect to $(p,x)$ jointly could be attempted.