Here is a 3D plot of the pdf from problem 2.

Plot3D[{0,3x},{x,0,1},{y,0,x},AxesLabel->Automatic,BoxRatios->{1,1,1}]