Consider implementation of point on two dimensional plane
\begin{itemize}
\item Position P is represented by pair of real numbers (x,y)
\item A triangle is represented by three points
\item Considering we have three points in a 2D surface and we want to know the possibility of having a triangle with the three points and then calculate the perimeter and the area of the triangle.