You can
put this solution on YOUR website!
If you want to find the equation of line with a given a slope of

which goes through the point (

,

), you can simply use the point-slope formula to find the equation:
---Point-Slope Formula---

where

is the slope, and
)
is the given point
So lets use the Point-Slope Formula to find the equation of the line

Plug in

,

, and

(these values are given)

Rewrite

as

Distribute

Multiply

and

to get

Subtract 2 from both sides to isolate y

Combine like terms

and

to get
------------------------------------------------------------------------------------------------------------
Answer:
So the equation of the line with a slope of

which goes through the point (

,

) is:

which is now in

form where the slope is

and the y-intercept is
Notice if we graph the equation

and plot the point (

,

), we get (note: if you need help with graphing, check out this
solver)
Graph of
through the point (
,
)
and we can see that the point lies on the line. Since we know the equation has a slope of
and goes through the point (
,
), this verifies our answer.
You can
put this solution on YOUR website!The reason your answer is wrong is that your equation represents an infinite number of lines, one for every possible value of b which is the set of real numbers. You have to find the particular y-intercept that is a point on the same line that passes through the point (1,-2).
When you are given the slope and a single point, use the point-slope form of the line:

where

and

are the coordinates of the given point and

is the given slope.
Now you can either leave it like that, put it into slope-intercept form by solving for y, or put it into standard form (

).
Slope-intercept form:

(Do you see the difference between this answer and your answer?)
Standard Form: