I'm not an expert on header design, but this page looks like it has a good discussion on header design considerations:
https://www.enginelabs.com/engine-te...gn-and-theory/
The main difference between the 2 headers you posted looks to be the length of the primary runners. I'd suggest researching that aspect of the header design.