Hayden is on her schools battle of the books team. She still has 40 pages to read in her final book before the competition. If she reads 5 times the number of pages tonight as she read last night, and then the last 10 pages tomorrow night, she will be finished with her book. Write and solve an equation to determine how many pages Hayden has to read tonight