Max earned $8 for each hour of work he completed. His mom put $120 in his savings account at the end of the summer. By the end of the summer, Max had $400 in his savings account. Write an equation to determine the number of hours Max worked over the summer.