Alternative solution: Set up a cubic equation whose roots are x, y, z. What are the coefficients of this equation? Finally, plugging in z should make your cubic equal to zero since z is one of the roots! Enjoy!
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.