Answer:
Part 1) [tex]y=3x-5[/tex]
Part 2) The graph in the attached figure
Step-by-step explanation:
step 1
Find the slope
The formula to calculate the slope between two points is equal to
[tex]m=\frac{y2-y1}{x2-x1}[/tex]
take the points
(2,1) and (3,4)
substitute
[tex]m=\frac{4-1}{3-2}[/tex]
[tex]m=\frac{3}{1}[/tex]
[tex]m=3[/tex]
step 2
Find the equation of the line in point slope form
[tex]y-y1=m(x-x1)[/tex]
we have
[tex]m=3[/tex]
[tex]point\ (2,1)[/tex]
substitute
[tex]y-1=3(x-2)[/tex]
step 3
Convert to slope intercept form
Isolate the variable y
[tex]y-1=3x-6\\y=3x-6+1\\y=3x-5[/tex]
step 4
Plot the given points to graph the line
see the attached figure