This is immediately impossible. f(2) cannot have two different values!
We are given $y= f(x)= ax^2+ bx+ c$. The fact that (1, 5) is on its graph (a parabola) means that $y= 5= a(1)^2+ b(1)+ c= a+ b+ c$.
The fact that (2, 10) is on the graph means that $y= 10= a(2)^2+ b(2)+ c= 4a+ 2b+ c$.
If (2, 19) were also on the graph we would have $y= 19= a(2)^2+ b(2)+ c= 4a+ 2b+ c$.
So we have both $10= 4a+ 2b+ c$ and $19= 4a+ 2b+ c$.
What do you get if you subtract the first equation from the second? Is there ANY value of a, b, and c which will make that true?