input: Write a python function to generate y-values for the equation y = 3x + 2 given a range of x-values.
  assert generate_y_values(range(-2, 3)) == [-4, -1, 2, 5, 8]
  assert generate_y_values(range(0, 5)) == [2, 5, 8, 11, 14]
  assert generate_y_values(range(-3, 1)) == [-7, -4, -1, 2]
output: def generate_y_values(x_values):
      return [3 * x + 2 for x in x_values]