The correct option is A -1
Two lines are parallel when their slopes are equal.
The slope of a line y=mx+c is 'm'.
3x+y+1=0→y=−3x−1
If y=mx+c is parallel to y=−3x−1,
m = slope of y=−3x−1 = -3
So, a = -3
Two lines are perpendicular when the product of their slopes is -1.
So. b×−3=−1→b=13
a×b=−3×13=−1