CREATE TABLE table_name_19 (elected INT, incumbent VARCHAR, district VARCHAR)

What year was Incumbent Ed Towns elected with a district smaller than 10?
SELECT AVG(elected) FROM table_name_19 WHERE incumbent = "ed towns" AND district < 10
SELECT AVG("elected") FROM "table_name_19" WHERE "district" < 10 AND "ed towns" = "incumbent"