I have a problem where I have $m$ observations of the following IID quantities (the two types of quantities are independent):
$$N_i \sim \text{Pois}(d \lambda) \quad \quad \quad X_i \sim \text{Bernoulli}(p) \quad \quad \quad p = 1-e^{-d \lambda}.$$
I need to find the MLE for the parameter $\lambda>0$, where $0 \leqslant d < 1$ is a nuisance parameter. My attempt at this problem is written out here and is also shown in the image below; I have not been able to find a closed form solution. Can you please help me find a solution for the MLE.