Probability with unknown variables An urn contains $10$ red marbles and $10$ black marbles while a second urn contains $25$ red marbles and an unknown number of black marbles. A random marble will be selected from each urn and the probability that both marbles are the same will be determined. A hint was given by the teacher: the probability does NOT depend on the number of unknown marbles. Verify that this is the case.
Let's call $N$ the unknown number of marbles.
I wrote out all possible ways to select a marble from each urn, selecting a red marble from both urn $1$ and urn $2$, and selecting a black marble from urn $1$ and $2$ and this is what I got:


*

*Number of ways to select a marble from each urn: $ \binom{20}{1}\binom{25+N}{1}$

*Number of ways to select $1$ red marble from both urn $1$ and urn $2$: $\binom{10}{1}\binom{25}{ 1}$

*Number of ways to select $1$ black marble from urn $1$ and urn $2$: $\binom{10}{1}\binom{N}{ 1}$
And this is what I got as my final equation to finding out the probability of selecting the same color marble from each urn: $\dfrac{\binom{10}{1}\binom{25}{ 1}+\binom{10}{1}\binom{N}{ 1}}{\binom{20}{1}\binom{25+N}{1}} $
I am confused on how the probability doesn't depend on the unknown number of black marbles in urn $2$? Any help would be much appreciated, thank you so much!
PS: I also searched through stack exchange for a problem similar to this and I couldn't find one. If this question was asked already, then I apologize!

A short explanation of why this is, is that instead of picking both marbles simultaneously, let us pick a marble from the strange bag first.
Once having done so, it will be some color, either black or red.  Now, pick a marble from the one with an even amount of each color.  Regardless which color was chosen in the first step, the probability that you pick the same color will be $\frac{1}{2}$.
Worded with symbols, let $B_1,R_1,B_2,R_2$ represent the events of picking a black marble or red marble from the first or second bag respectively.  Let the "second bag" be the one with the unknown number of black marbles.
We have:
$$\begin{array}{rl}Pr(\text{colors are same}) &= Pr((B_2\cap B_1)\cup (R_2\cap R_1)) \\&= Pr(B_2)Pr(B_1|B_2)+Pr(R_2)Pr(R_1|R_2)\\
&=\frac{1}{2}Pr(B_2)+\frac{1}{2}Pr(R_2)\\
&=\frac{1}{2}(Pr(B_2)+Pr(R_2))\\
&=\frac{1}{2}\end{array}$$
This uses the multiplication principle that $Pr(A\cap B) = Pr(A)Pr(B|A)$
