How to draw a line to change a Pentagon with one corner missing from a square into two triangles?

How to draw a line to change a Pentagon with one corner missing from a square into two triangles?

thank you