there are several ways to approach this. here's one

note that the vertex is on the x-axis, that is, we have a double root for the vertex

thus, our quadratic is of the form

we are given that the point (4,2) is on the graph, we can use this to find , by plugging in and into the form above

what is your answer?