The only valid pair is B.
To determine this we need to remember that the input is the value of x and the output is the value of y.
For the input 4, that is x=4, the graph passes through the output is 5, that is y=5. This means that the graph passes through the point (4,5).