How to create lines inside a shape.

How can I create lines inside of a shape like the D in this picture. Is there a way to do this easily?  This is not my picture

.