Start with one stud every 16" or 24" plus one extra for the far end, then add two studs per opening (king + trimmer) and two per corner for a three-stud corner. Plates are the horizontal 2×4s — a single bottom plate and a doubled top plate (three runs of the wall length). Headers are the lintels over each opening.