Easy enough to figure out on the spot; just set the head into place and drop studs into different holes until you get the same protrusion across the board.
Unfortunately, I don't believe your diagram is correct. The slightly longer studs go on the RH side (with the high port head), because the head is taller around the high ports. (With the early low-port heads, studs were the same length on both sides.)
Also, if you have the original studs for a later engine, there is a slightly longer stud that goes in the RH rearmost position, to accommodate the lifting eye.