The ratio between the amount of problems she finished and the problems she still had left is given by the division between those amount. Since this ratio is 9:4, if we call the amount of homework she still has left as x, we have the following relation
Solving for x, we have
She still has 20 problems left to solve. The total amount of problems is given by the sum between the problems she already finished and the problems left to solve, then, the total amount of problems is
65 problems.