I'm on my freshmen year at college and I'm taking a probability course, and I came up with this question and I don't know exacly how to work with that.
I have tried, and that's what I thought.
$X$ is a uniform random variable from $0$ to $3$. Then, the probability $P(X<x) = \int_0^x {1 \over 3} dx$.
And $Y$ is uniform random variable from $1$ to $5$. Then, $P(Y<y) = \int_0^y {1 \over 4} dy$
And now I have to think about a way to compare the the variables. When $X < Y-1$?
Here are geometrical proofs for your two questions. See figures below.
Question 1 : Point $(X,Y)$ being uniformly distributed into rectangle $[0,3] \times [1,5]$, inequation $X<Y-1 \iff Y>X+1$ is realized iff $(X,Y)$ is above diagonal line with equation $y=x+1$, i.e., belongs to the upper trapezoid, whose area represents $5/8$th of the total surface. Otherwise said :
$$P(X<Y-1)=\frac58$$
Let us work on the cdf of $M=X+2Y$ instead of its pdf.
In the general case :
$$F(m)=P(X+2Y < m) = area(ABNM)/area(ABCD)$$
$$F(m)= \frac{AM+BN}{2} \times AB /(3 \times 4)=\frac{3}{48}(2m-5)$$
Differentiating $F(m)$, we get the density
$$f(m)=\frac{1}{8}$$
i.e., a constant. But this computation is valid for the main cases ($5 \le m \le 10$). There are two particular cases $2<m<5$ (triangle $AN'M'$) and $10<m<13$ (pentagon $ABN''M''D$) that should be treated separately. In fact, we can shortcut these separate treatment ; indeed, as areas' increasing is linear in variable $m$, we just have to make linear connections with the "plateau" of the curve of $f$ : for example, in the first case $2<m<5$ (relative area of triangle $AN'M'$), we construct linear function $f(m)=\frac{1}{24}(m-2)$ which is such that $f(2)=0$ and $f(5)=\frac18$. The final curve of $f$ finaly looks as a isosceles trapezoid.