If vertex A is given, then you have it's co-ordinates.
For B, label the point
For C, label the point
now use the line equations to write one variable in terms of the other
in both cases.
Then use Pythagoras' theorem since the distance between A and B
equals the distance from A to C equals the distance from B to C.