can someone please help me with this question

What is the range of the function f(x)=3x+1 when the domain is {0, 1, 2}?

a.{2, 4, 10}


b.{1, 4, 7}


c.{3, 4, 5}


d.{2, 6, 18}