I'm having lots of trouble with this question.. don't even know where to start.
Consider a transmitter that is sending messages over a computer network. We define the random variable X to be the travel time of a message and Y to be the length of a message. Assume Y can take two possible values y = 102 bytes with probability 5/6 and y = 104 bytes with probability 1/6. The travel time of a message depends on both its length and random factors such as congestion in the network. The travel time is defined as 10(^-4)Y seconds with probability 1/2, 10(^-3)Y seconds with probability 1/3, and 10(^−2)Y seconds with probability 1/6. Find the probability mass function of X and E(X).