Work out the time it would take her to complete one problem (time taken ÷ problems done) and then multiply that answer by the total number of problems to work out the total time.
So that would be: 25 minutes ÷ 20 problems = 1.25 problems per minute 1.25 problems per minute × 50 problems total = 62.5 minutes total.