Moody's interview question

How would you model X, Y, Z