Use the given conditions to write an equation for the line in point-slope form and in slope-intercept form.
Passing through $(3,1)$ with $x$-intercept 2
Write an equation for the line in point-slope form.
\[
y-1=1(x-3)
\]
(Simplify your answer. Use integers or fractions for any numbers in the equation.)
Write an equation for the line in slope-intercept form.
Write the final answer in point-slope form: \(\boxed{y - 1 = 1(x - 3)}\)
Step 1 :Find the slope of the line using the given point $(3,1)$ and the $x$-intercept $(2,0)$
Step 2 :Use the point-slope form equation $y - y_1 = m(x - x_1)$ where $(x_1, y_1)$ is the given point and $m$ is the slope
Step 3 :Substitute the given point $(3,1)$ and the slope $m=1$ into the point-slope form equation
Step 4 :Simplify the equation if necessary
Step 5 :Write the final answer in point-slope form: \(\boxed{y - 1 = 1(x - 3)}\)