Pharrell wants to write equations in the form y = mx + b for the lines passing through point P that are parallel and perpendicular to line w. First he finds the slope of line w and line v to be 1/2 and the slope of line n to be -2. Point P is located at (-4, 2). Which step could he use to find the y-intercepts?

A. Multiply the slope, -2, by the x-coordinate, -4, and add the y-coordinate, 2, to the product.
B. Substitute the slope, -2, and the coordinates of point P (-4, 2) in y = mx + b and then solve for b. Repeat using the slope 1/2 for the second equation.
C. Multiply the slope, -2, by the y-coordinate, 2, and subtract the result from the x-coordinate, -4. Repeat for the slope 1/2 for the second equation.
D. Solve the proportion m/b = y/x for b, where m = -2, y = 2, and x = -4. Then solve the proportion m/b = y/x for b, where m = 1/2, y = 2, and x = -4.