A geometric shape consisting of line segments connecting three points that are not on the same line is called a…