Hi, I have trouble seeing when a comma is necessary for situations like these. What are the guidelines (if there are any)?

1.A diagonal line goes in a downward direction, for example (comma here???) from one little corner to another little corner.
2.Those on display are things you wear, for example (comma here?? I don't think we need put a comma - why not?) shoes and slippers.
3.He has a lot of things to do in the morning, for example (comma here??) sweeping the floors and organzing the messy garage of his.
Formally speaking, there must always be a comma following all of these: namely. that is, for example, i.e. and e.g. In addition, they should be preceded by a punctuation mark, though not necessarily a comma.
Veteran Member114,987
SystemAdministrator: A system administrator takes care of the inner workings of the entire system. These users have the ability to promote, ban and modify other users.Teachers: Users in this role are certified teachers. This may include DELTA, CELTA, TESOL, TEFL qualified professionals. Email a scan of your qualification to an admin, if you wish to be considered.