Can someone please help and explain this to what the answer is I’ll give brainliest

Answer:
BOTH THE QUESTIONS ARE SAME!!
When finding a perpendicular slope, you need to change the signs and flip the reciprocal
The answer to your question is:
m = -2