CREATE TABLE table_name_25 (year INT, points VARCHAR, engine VARCHAR)

What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?
SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-6"
SELECT AVG("year") FROM "table_name_25" WHERE "engine" = "maserati straight-6" AND "points" < 6