From the given table
Choose two-point for x and y from the table
So,
The point will be:
(0, 3) and (1, 1)
Now,
From the standard for of the linear function

Then,
First, find the value of the slope (m) from the given point
So,
From the formula of the slope:

Then,

Now,
To find the value of b, put the value of m = -2, x = 0 and y = 3 into the standard form of the equation

Then,
Put the value of b into the standard form of the equation

Hence, the correct option is B.