Answer:
A. Substitute the slope and the coordinates of point P in y=mx+b and then solve for b for each equation.
Explanation:
We know the equation for a line passing through a point P(x,y) is given as:
y = mx + b
where
m is the slope of the line.
x, y are the co-ordinates of point P.
b is the y-intercept of line on point P(x,y).
If g is the line. we find its slop m. Let's the slope 'm' is given as m = b/a
The slope of lines parallel to line g is b/a.
The slope of lines perpendicular to line g is -a/b.
Substituting the slope and and coordinates of point P and then solving for b will give us the y-intercept.