How does the James Webb Space Telescope achieve a focal length of 131.4m ?
The JWST has three mirrors(*), the main mirror (6.5m in diameter) A secondary mirror, held on three struts in front of the main mirror and a tertiary mirror that reflects the light into the various instruments.
The length of the light path from Main mirror to focal point is about 20m, but this is not the focal length, since the secondary mirror is convex, the tertiary mirror is also curved to remove the astigmatism caused by the secondary being slightly off-centre. The convex curvature on the secondary has a "telephoto" effect, lengthening the effective focal length.
The convex secondary mirror gives an effective focal length of 131.4m. The three mirrors together function as if the telescope had a single mirror with focal length 131.4m. This layout is called a "Cassegrain" telescope, and is popular both for billion-dollar telescopes and amateur instruments. It allows for a much longer focal length to fit in a short stable package. Both Hubble and the VST are also Cassegrain telescopes.
Here is an animation to show how light is collected by the mirrors.
(*) It actually has lots more, but to understand the focal length there are effectively three.