The answer is obvious that is option B, however for educational purposes we will graph the different cases
using a graph tool
see the attached figure
case A-------> is a parabola is not a straight line
case B-------> is a straight line
case C-------> there are two straight line
case D-------> is a circle is not a straight line
hence
the answer is the option
B.f(x) = x + 1