I have two types of customers (type 1 and type 2) enter a shop. Their arrival processes are independent and follow Poisson process with the arrival rates of $\lambda_1$ and $\lambda_2.$
Consider two events where $A = \{\text{customer } q+1 \text{ is type 1}\}$ and $B = \{\text{more than } q \text{ customers from all types arrive} \\ \text{ within a specified time}\}.$
What is the probability of $P(A,B)$? I want mathematical formulation for this problem.
Thanks in advance for considering my question.