Dhwanii
Any quant expert if you can help,
T can be positive or negative hence I solved via taking t and -t which gave me
t = -14 or t= 26 for first statement using slope formula
t = -14 or t = 14 for 3rd statement using midpoint formula
I got the answer right, but is my approach wrong ?
Yes, your approach is not correct, and this is a very important point, because you'll get a lot of algebra questions wrong if you solve them this way. I'll use a simpler example -- say we have this equation:
x + 2 = -3
Here x can be negative (it must be negative, in fact), but we do
not then solve this equation by replacing "x" with "-x". We just solve for x:
x = -5
and at the end, we learn that x stands for a negative value. The same is true in this question; you should not replace "t" with "-t" just because t can be negative. If you do that, you're solving for the negative of t, not for t itself (and when you did that using the slope formula, you should have gotten 14, the negative of the right answer, not 26, so you made an arithmetic mistake somewhere).
It's possible you were thinking about absolute value equations when you solved this way. When we see an equation like |x| = 5, one way to solve is to replace "|x|" with x, and with -x, and solve the two equations that result, but we do that because absolute value changes the sign of a negative number. That's not something we do just because x can be negative.