I was just solving problems on conditional probabilities. When I was taught this concept, most of the conditions were given for specific value. But then I saw an example where the condition was that X = 3Z where Z is a random variable. I do not understand this. For example, I can evaluate (1) easily but (2) seems tough.
(1) \begin{align*} \Pr(X+Y = k \mid Y=y) &= \frac{\Pr(X+Y = k \cap Y=y)}{\Pr(Y=y)} \\ &= \frac{\Pr(X = k-y \cap Y=y)}{\Pr(Y=y)} \\ &= \Pr(X = k-y \mid Y=y). \end{align*}
(2) \begin{align*} \Pr(X+Y = k \mid Y=3Z) \end{align*}
I tried searching online but it was mainly answered using $\sigma$-algebra. Could someone please show how would I evaluate (2), as in can I substitute the Y with 3Z? or what it means intuitively?