Paige had twenty-five math problems and five science problems for homework. If she finished six of the problems at school, how many problems did she have to do for homework?

Paige had a total of 30 problems to do for homework.