Moody's Interview Question

How would you model X, Y, Z