Based on wind direction and the desired length of the first windward leg, these calculators will give you the distances and angles between marks of the course.  There are several course configurations available.

Windward/Leeward Courses