Please Solve ASAP

Given the function y = 3x +1 if x ≥0
x −2 if x <0

Find its values for x = −1; 0; 1; 2.

Answer Format:
If x = −1, then y =
If x = 0, then y =
If x = 1, then y =
If x = 2, then y =