Let $X$ and $Y$ be independent, continuous random variables.
The PDF of a sum $W=X+Y$ is given by the convolution formula $$ f_{X+Y} (w) = \int_{-\infty}^{\infty} f_X(x) f_Y(w-x)\,\,dx$$
In this lecture, it is shown a more general way to use the convolution formula to get the PDF of $Z=2X-Y$.
It goes as follows. If $$Z = (2X)+(-Y)$$ Then $$f_{2X-Y}(z) = \int_{-\infty}^{\infty} f_{2X}(x) f_{-Y}(z-x)\,\,dx$$
What I don't really understand is why the argument of the PDF of $-Y$ should be kept in the same form. Shouldn't it be
$$f_{2X-Y}(z) = \int_{-\infty}^{\infty} f_{2X}(x) f_{-Y}(2x-z)\,\,dx \,\,\,\,\text{?}$$
... since $Z=2X-Y$ and then $Y=2X-Z$ ?
Thanks in advance,
SB