Normally, you would just integrate the joint density over all possible values of Y:
However, the given joint density is not actually a valid density function, since
so the question is not well-posed.
9.5m questions
12.2m answers