e.g. is the abbreviation for the Latin term exempli gratia, meaning “for example” or “such as.” It is used to introduce one or more examples of something mentioned previously. It usually implies that there are other examples or possibilities not mentioned in the list. You need to use a period after each letter of the abbreviation and a comma after the abbreviation.
There are many types of graphical representations, e.g., bar graphs, pie graphs, histograms, dot plots. I like classical music, e.g., Mozart, Beethoven, Chopin. i.e. is the abbreviation for the Latin phrase id est, meaning “that is to say” or “in other words.” It is used to clarify or provide an alternative explanation. It can be used interchangeably with “specifically” or “namely."
I am a Christian, i.e., I believe in Jesus as the Son of God. One meal (i.e., breakfast) is included in the price of the room. Boxing is dangerous, i.e., you could severely injure yourself.
Such as is used to introduce examples. For personal visits, employees should be able to provide some acceptable identification such as driver’s license or passport. You must also avoid fast food such as hot dogs and pizza. Animals such as dogs and cats have become an integral part of our households.
The phrase such as requires a comma in front of it only if it’s part of a nonrestrictive clause (i.e., it describes a noun in a nonessential way).
English is used not only in English spoken countries, such as Australia, New Zealand, Canada, and The United Kingdom but worldwide. I love all types of music, such as rap, hip hop, country, reggae, etc.
The question of whether to use I or me comes down to whether you are using the word as a subject or as an object in the sentence.
So, in the sentences, “He and I played beach volleyball together. He and I are best friends” the correct word to use would be “I” because He and I are the subjects of both sentences.
However, in the sentences, “She gave it to Joe and me”, “Please send it to Joe and me” the correct word to use would be “me” because Joe and me are the objects of both sentences (i.e., the person or thing that receives the action of the verb).
Some resources: A concise English grammar, British Council, Learn English, Grammar; EnglishCLUB, Grammar Monster, Purdue Online Writing Lab, and UsingEnglish.com.