The joint distribution of a proportion of votes for candidate X and a proportion of votes for candidate Y is given by fx,y(x,y)=1, 0<=x<2, 0<=y<=1, 2y<=x.
The difference between these proportions is given by U=X-Y.
(a) Find the probability density function for U.
(b) Use the answer in the previous part to find E[U].