It depends on the specific context and the nature of the graph. Without more information about the domain restriction and the graph, it is difficult to say exactly what effect changing the 2 to a 5 would have. However, in general, changing a value in a domain restriction would affect the range of possible input values for the graph and could potentially change the overall shape or behavior of the graph.