A student is learning new vocabulary words each day to prepare for a competition. On the first day, the student learns 40 words. The number of new words learned increases by 5 each day until the student is learning 100 words per day. The student then continues to learn 100 new words every day.
On which day does the student first reach the target of learning 100 words per day?
Find the total number of words learned by the student in the first 30 days.