How to draw a line from a Pentagon into two triangles?

How to draw a line from a Pentagon into two triangles?

First, cut a corner of a square into a Pentagon. Then draw a line and divide it into two triangles