You have to think about it conceptually and not mathematically. Math helps explain physics but you shouldn't try to use it to break physics haha.
The concept here is that all things with mass will oscillate at a certain frequency. Air has mass and exists inside the tube of a port. Since the only thing that varies from one port to another is the amount of air in the port, it's safe to say that the one port holds more mass of air than the other. If two objects are equal everywhere except for mass, the object with the higher mass will oscillate at a lower frequency. In this case, that would be the longer tube.
If somebody had an enclosure with dual passive radiators, they could test this idea by cutting the mass of one in half and seeing where each one of them had peak movement. Those results would quickly tell if it was a correct assumption or not.