hi, can someone tell me if i solved this question right? and if i didnt, whats the correct answer/what i did wrong?

Answer :
here slope should be (-1-4)/(1-1) = -5/0 which is undefined.
Answer:
Mistake in Step 1: Explained below
Correct Answer: x = 1
Step-by-step explanation:
Step 1: Slope
This is your first mistake. Both x values are 1, so subtracting 1 from 1 will result in 0
Step 2: Equation
A line with an undefined slope is a vertical line.
The equation of the line is x = 1
-Chetan K