Final answer:
To find the equation of a line given the slope and one point, use the point-slope form and substitute the values into the equation.
Step-by-step explanation:
To find the equation of a line in slope-intercept form given the slope and one point, you can use the point-slope form of the equation.
The slope-intercept form of a line is y = mx + b, where m represents the slope and b represents the y-intercept.
Since the slope (m) is given as 0, the equation becomes y = 0x + b, and since the point (-1,5) lies on the line, we can substitute the values of x and y into the equation to solve for b.
Plugging in x = -1 and y = 5, we get 5 = 0(-1) + b, which simplifies to b = 5.
Therefore, the equation of the line is y = 0x + 5, which simplifies to y = 5.