By independence, the joint PDF is the product of the marginal PDFs:

fX(x)=1,0<x<1fY(y)=12,0<y<2fX,Y(x,y)=12,0<x<1,0<y<2