First, lets remenber some properties of de second degree polynomial.
Given a polynomial with the form:

We can factor it as:

where r_1 and r_2 are the roots of the polynomial.
Also, the polynomial "cuts" the Y axi in 'c', as follows:

Or, in other words, in the point (0,c).
With those informations, we can solve our question.
From the graph, we can see that the roots are 1 and 5.
So, our polynomial would have the form (in the factored form):

Expanding our expression, we have:

So, in our expression, c=5a. From the graph, we can see that the parabola cuts the Y in the point (0,5), so 'c' must be equal to 5. With that we can find the value of a, as follows:

So, our polynimial has the form:
