If \(31z5\) is a multiple of \(9\), where \(z\) is a digit, obtain the value of \(z\). Explain why there are two answers to this problem.
 
\(z =\) or
 
(Note: Enter the numbers in ascending order.)
 
There are two solutions because