If the image of a function y = 2x + B passes through (- 1,1) points, then B is equal to 3? Point (- 1,1) is a function of degree passing by y = 2x + B

If the image of a function y = 2x + B passes through (- 1,1) points, then B is equal to 3? Point (- 1,1) is a function of degree passing by y = 2x + B

This is an example, which is to find the intersection point with the coordinate axis
Let x = 0, then y = 3
Let y = 0, then x = - 3 / 2
To sum up, after (0,3) and (- 3 / 2,0)