I am going to do it by elimination.
D is incorrect because the end points are not x=5
A is wrong because when x<5 the gradient is positive.
When x=5 the open cirlce is 3*5+2=17 and the closed circle is -3*5-5=-17 So it can't be C
So if any are right it will have to be B :)))