You may want to review slopes of parallel and perpendicular lines and point-slope form first.

You won't always just be given a slope directly. You could instead be told the line you want should be parallel, or perpendicular, to another line. But then you should already know how to find its slope. With that and a point, you can write the equation of the line you want in point-slope form.