Let \( I \) be the ideal generated by \( x^2 + x + 1 \) in the polynomial ring \( R = \mathbb{Z}_3[x] \), where \( \mathbb{Z}_3 \) denotes the ring of integers modulo 3. Then the number of units in the quotient ring \( R/I \) is \(\underline{\hspace{1cm}} \).
The relationship between two variables \( x \) and \( y \) is given by \( x + py + q = 0 \) and is shown in the figure. Find the values of \( p \) and \( q \). Note: The figure shown is representative.
