When multiple edges project to the same line on the drawing, the line type is determined by the following precedence: (1) visible lines, (2) hidden lines, (3) center lines.
This can be seen clearly in the last example, when selecting the correct orthographic views. It is important to remember what it would look like from above, as well as below, and how that might change any dotted lines that were visible from one perspective.