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

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