If a quadratic function crosses the x-axis at 1 and -2 then it can be written f(x)= a(x- 1)(x+ 2).
The condition that f(3)= 20 gives you an equation to solve for a.
Another method: any quadratic function can be written as f(x)= ax^2+ bx+ c. Saying that the graph crosses the x-axis at x= 1 means that a(1^2)+ b(1)+ c= a+ b+ c= 0. Saying that the graph crosses the x-axis at x= -2 means that a(-2)^2+ b(-2)+ c= 4a- 2b+ c= 0. Saying that the graph includes (3, 20) means that a(3^2)+ b(3)+ c= 9a+ 3b+ c= 20. That is 3 equations to solve for a, b, and c.