Below is an instruction that describes a task. Write a response that appropriately completes the request.

### Instruction:
What was the average number of points with bonus pts less than 31 with the rider dennis gavros?

### Inputs:
table_name: table, columns: ['Rider', 'Matches', 'Rides', 'Bonus Pts', 'Total Points']

### Response:
SELECT AVG Total Points FROM table WHERE Rider = dennis gavros AND Bonus Pts < 31