What is the value of the function y=3x−1 when x=−1?
−8
−4
2
6
−8
−4
2
6