Given:
The function is, f(x) = 3x+2.
The domain is, {-2, -1, 2}.
The objective is to find the range of the function.
If domain is, x = -2,
[tex]\begin{gathered} y=3x+2 \\ y=3(-2)+2 \\ y=-6+2 \\ y=-4 \end{gathered}[/tex]If domain is, x = -1,
[tex]\begin{gathered} y=3x+2 \\ y=3(-1)+2 \\ y=-3+2 \\ y=-1 \end{gathered}[/tex]If domain is, x = 2,
[tex]\begin{gathered} y=3x+2 \\ y=3(2)+2 \\ y=8 \end{gathered}[/tex]Thue, the domain is {-4, -1, 8}.
Hence, option (b) is the correct answer.