You can
put this solution on YOUR website!
is the slope-intercept form of a straight line
The y-intercept occurs when x=0
The x=intercept occurs when y=0
You say that the slope is known and the x-intercept is known
m is the slope, so lets say (

)
The x-intercept is at (

)

When y=0,

So, the equation of the line becomes

Let's try an example
m[1] = -1
x[1] = 7

When y=0, x=7 as it should
When x =0 y = 7 also