Find a point P on the straight line 3x-2y + 6 = 0 so that the distance from it to a (- 1,1) and B (3,0) is equal

Find a point P on the straight line 3x-2y + 6 = 0 so that the distance from it to a (- 1,1) and B (3,0) is equal

From the meaning of the question, we can set the P coordinate of the point on the straight line 3x-2y + 6 = 0 as (a, 3A / 2 + 3)
If the distances from P to a (- 1,1) and B (3,0) are equal, then there is:
|PA|=|PB|
That is: radical [(a + 1) & # 178; + (3a / 2 + 3 - 1) & # 178;] = radical [(A-3) & # 178; + (3a / 2 + 3) & # 178;]
(a+1)²+(3a/2 +2)²=(a-3)²+(3a/2 +3)²
2a+1+ 6a+4=-6a+9+ 9a+9
8a+5=3a+18
5a=13
The solution is a = 13 / 5
So the point P coordinates are (13 / 5,69 / 10)