Geometry is a branch of mathematics that deals with the shapes, sizes, and configuration of 2-dimensional and 3-dimensional figures. When…