How can I find the locus of point $P (x,y)$ that moves so that it is equidistant from lines $y = x+3$ and $y = x+7$?
I take any point on the first line to be $M (x,x+3)$ and second line to be $S (x,x+7)$.
When I equate PS=PM using the distance formula, the answer comes out to be $0=5$ which make no sense!

Letting $P = (x,y)$, $M = (x,x+3)$ and $S = (x,x+7)$ and using $PS = PM$, we get $\displaystyle \sqrt{(x-x)^2 + (x+3-y)^2} = \sqrt{(x-x)^2 + (x+7-y)^2}$. This simplifies to $\displaystyle x+3-y = \pm (x+7-y)$. Because the $+$ case obviously makes no sense, we get that $x + 3 - y = -x - 7 + y$, or $2y = 2x + 10$, or $y = x + 5$.