text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR)
  ### Question:
  What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?
  ### Answer:
  SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-6"