I am guessing X and Y are independent, in which case you are correct.

Given that you rolled a 4, what is the expectation of Z? There are only 2 values Y could take with equal probability, so look at what happens at each. You could look at this as .Also, how do i do this?

Compute E(Z|X = 4)

Thanks