Triangle - length of the sides, coordinates of the vertices

Hello, 

Please someone write code to determine the length of the sides and the coordinates of the vertices of a triangle

Greetings!