if the variables are indepndent you know the joint pdf can be written $f_{X,Y}(x,y) = f_{X}(x) f_{Y}(y)$