The first choice is correct. in the first function f(x)=3x-2, the smallest value is when x=-1, y=-5, the largest value is when x=0, y=-2, but it doesn't include -2 because there is no = sign.
in the second function, the smallest value of y is when x=0, y=3, the largest value is y=13, but it doesn't include y=13