Context: CREATE TABLE table_name_82 (year INTEGER, tyres VARCHAR, chassis VARCHAR)
Question: How many years were g Tyres and Minardi m187 used?
Answer: SELECT AVG(year) FROM table_name_82 WHERE tyres = "g" AND chassis = "minardi m187"