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.
6.5m questions
8.6m answers