I've started working on my De Havilland BC Trident variants, with the first part being working out interior floor plans/maximum seats (which has led me to learning about FAR stuff about exit limits), and as I was working on a seat map for a stretched version I looked at the position of the overwing exits, which prompted me to wonder what sort of engineering factors determine the location of the wings relative to the length of the fuselage.
Looking at the DC-9/MD-80/MD-90/717 family, I noticed that that there is some variation in the positioning of the wings in the MD-80/MD-90 variants, which all use a 107' 8" span wing:

My question then would be, is there a simple(ish) calculation to determine where on a fuselage of a given length the wings need to be positioned? I don't need anything super accurate since I'm not actually building something to fly, just something that's close enough that discrepancies could be explained away as "small error made by the drafter".
From there the question of wingspan entered my mind, too: what determines the necessary wingspan for a fuselage of a given length? The MD-80 family and the MD-90 all use wings with a 107' 8" span, with fuselage lengths ranging from 130' 5" (MD-87) to 152' 6" (MD-90) - that's a 22 foot range... whereas the DC-9/717 variants get more complex:
DC-9-21 -- span 93' 3.6" -- length 104' 4.8"
DC-9-32 -- span 93' 3.6" -- length 119' 3.6"
DC-9-41 -- span 93' 3.6" -- length 125' 7'2"
DC-9-51 -- span 93' 4.2" -- length 133' 7"
B 717 -- span 93' 4.2" -- length 124'0 "
Again I'm absolutely not an aero engineer, but I'd guess that that 6/10 inch difference in span between the two wings isn't something related to the length of the fuselage (if there's a relation there at all?), which guess is based on the fact that the 717 which uses the longer wing is a little shorter than the -41 which uses the shorter wing...
What complicates this further is that the DC-9-15 has the same length as the -21, but has a wingspan of only 89' 4.8"; I know the -15 is the only DC-9 without leading-edge slats... but can the addition of slats increase the span of the wings by nearly four feet?
I'd *almost* start thinking I can figure something out based on this data, but then I look at the values for the HS Trident:
Trident 1C -- span 89' 10" -- length 114' 9"
Trident 1E -- span 95' 0" -- length 114' 9"
Trident 2E -- span 98' 0" -- length 114' 9"
Trident 3B -- span 98' 0" -- length 131' 2"
... and then nothing makes sense anymore.
Rephrasing all of this in a different way better expressing my purposes:
Is there a way to easily figure out the maximum length of the fuselage forward of the forward edge of wing root for a given length of the fuselage aft of the aft edge of the wing root? Or does it matter, since although the Douglas designs have the wings aftwards of centre, looking at the 727 and Tu-154 the offset appears much smaller (though still aft of centre)? Does the planform of the wing play a role in this?
And a sudden thought: is the height of the vertical stabiliser going to be affected by the fuselage length/positioning of the wings?