Answer:
D
Explanation:
for line on left
calculate the slope of the lines using the slope formula
m =

with (x₁, y₁ ) = (- 2, 0) and (x₂, y₂ ) = (0, 1) ← 2 points on the line
m =
=
=

the line crosses the y- axis at (0, 1 ) ⇒ y- intercept = 1
------------------------------------------------------
for line on right
with (x₁, y₁ ) = (- 2, 0) and (x₂, y₂ ) = (0, - 2) ← 2 points on line
m =
=
=
= - 1
the line crosses the y- axis at (0, - 2 ) ⇒ y- intercept = - 2
Then
p = - 1 ( multiply both sides by 2 )
p = - 2
-----------
1 + q = - 2 ( subtract 1 from both sides )
q = - 3