question: How many points for Newman/Haas Racing with fewer than 40 laps?
answer: SELECT AVG(points) FROM table_name_6 WHERE team = "newman/haas racing" AND laps < 40
context: CREATE TABLE table_name_6 (points INTEGER, team VARCHAR, laps VARCHAR)