Remember: , where f(x) is the probability function.

Now, here your X takes on the values 25, 33, 40, and 50, with probabilities 25/148, &c.

Your Y takes on the same values, with probabilities all being 1/4.

After that it should be a straightforward calculation.