CREATE TABLE table_name_40 (years VARCHAR(255), state VARCHAR(255), representative VARCHAR(255))
James Hutchins Johnson, from New Hampshire, served during what years?
    
SQL: SELECT years FROM table_name_40 WHERE state = "new hampshire" AND representative = "james hutchins johnson"