Question: what is the relation between charges q1 q2 and q3 of the electric flux?
Answer: In the present case total charge enclosed by the surface is q1+q2-q3. So, the electric flux across the surface is (q1+q2-q3)/є.