For this case we observe that we have a linear equation.
The generic equation of the line is:
y-yo = m (x-xo)
Where,
m = (y2-y1) / (x2-x1)
Substituting values we have:
m = (4-1) / (3-2)
m = (3) / (1)
m = 3
(xo, yo) = (2, 1)
Then, the line is:
y-1 = 3 (x-2)
Rewriting:
y = 3x-6 + 1
y = 3x-5
Answer:
the rule using algebra is:
y = 3x-5