Table schema:
CREATE TABLE table_name_49 (first_elected INTEGER, district VARCHAR)

Question: What is the average First Elected, when District is "Massachusetts 3"?
SQL: SELECT AVG(first_elected) FROM table_name_49 WHERE district = "massachusetts 3"