Moment balance
Taking moments about the front axle: the load moment is load weight times its distance in front of the axle (fork face offset plus load center). The truck's resisting moment is its weight times the distance from the axle back to its own center of gravity. The truck stays planted while the load moment is the smaller of the two, so the maximum load is the truck moment divided by the load arm.
This teaching model uses a 3,600 kg truck with its center of gravity 0.8 m behind the front axle and forks 0.45 m ahead of it. It ignores braking, mast tilt, raised loads and slopes, all of which shrink the real margin.
Why the triangle
Most counterbalanced trucks have a rear steer axle that pivots at its center, so the truck is effectively supported at three points. Raising the load moves the center of gravity up, which makes sideways tipping easier too, so operators travel with loads low.