Summarize:

It's more respectful to the others to lie in the same direction, and not put your feet in their face.    Continue to lie in shava asana (savasana; dead man's pose) so that your body can come back to homeostasis and receive all of the benefits of your hard work. Two minutes at very minimum is best. Ten minutes is wonderful for relaxation.
Place your towel over your mat and lie down on your back with your head facing the mirrors and feet towards the back wall, just like the position practiced during class. Allow yourself to adjust to the heat. During the class, pay close attention to what the instructor says and watch the other students for an example. When class is finished, it is courteous to say the Indian word "Namaste" to your instructor as a way of saying thank you (the word means, very generally, "I recognize the divine in you"). When the class is over don't leave right away.