How do I position windows for maximum daylight without overheating the home?

How do I position windows for maximum daylight without overheating the home?