To print the letter M, start by drawing two vertical lines that are connected at the top and bottom. Then, draw a diagonal line that connects the top-left corner to the bottom-right corner. Finish by drawing another diagonal line that connects the top-right corner to the bottom-left corner.