SCHEMA:
CREATE TABLE table_name_29 (total_points INTEGER, rider VARCHAR, bonus_pts VARCHAR)
User Question:
What was the average number of points with bonus pts less than 31 with the rider dennis gavros?


SELECT AVG(total_points) FROM table_name_29 WHERE rider = "dennis gavros" AND bonus_pts < 31