SCHEMA:
CREATE TABLE table_name_36 (year VARCHAR, points VARCHAR, engine VARCHAR)
USER:
Which year had a Cosworth V8 engine and 12 points?

QUERY:
SELECT year FROM table_name_36 WHERE points = 12 AND engine = "cosworth v8"