question: When the driver peter gethin has a grid less than 25, what is the average number of laps?
answer: SELECT AVG(laps) FROM table_name_4 WHERE driver = "peter gethin" AND grid < 25
context: CREATE TABLE table_name_4 (laps INTEGER, driver VARCHAR, grid VARCHAR)