The correct option is C y=2x−1
The equation which is satisfied with all the data points is the correct answer.
Option A,y=x−2
At x=−1,y=−3, LHS =−3, RHS =−1−2=−3
LHS = RHS
Hence, (−1,−3) lies on the line y=x−2
At x=0,y=−1, LHS =−1, RHS =0−2=−2
LHS ≠ RHS
Hence, (0,−1) does not lie on the line y=x−2
Hence, option A is incorrect.
Option B, y=2x−1
At x=−1,y=−3, LHS =−3, RHS =2(−1)−1=−3
LHS = RHS
Hence, (−1,−3) lies on the line y=2x−1
At x=0,y=−1, LHS =−1, RHS =0−1=−1
LHS = RHS
Hence, (0,−1) lie on the line y=2x−1
At x=1,y=1, LHS =1, RHS =2(1)−1=1
LHS = RHS
Hence, (1,1) lie on the line y=2x−1
At x=2,y=3, LHS =3, RHS =2(2)−1=3
LHS = RHS
Hence, (2,3) lie on the line y=2x−1
Hence, y=2x−1 fits to given data.
We can similarly check for other options also.