The graphs are on the figure below. The derivative is represented by the red line and three different functions by blue, green and orange.
Work Step by Step
The graph of $y=f'(x)=2$ is just a horizontal straight line intercepting the $y$ axis at $y=2$ (red line on the graph below). This derivative can be the derivative of any linear function with the slope $2$ i.e. $f(x)=2x+b$ where $b$ can be any number. We will plot the three functions for three different values of $b$: $b=1$ (red), $b=-2$ (green), $b=0$ (orange)