The factors of the polynomial are (x-5)(x-5).
This means the polynomial has a repeated root at x=5. So the graph of the polynomial should touch x=5 and turn away. This is how a graph behaves at root with even multiplicity.
So, the graph of the given polynomial will be graph A