But if the feature size is 7nm vs 3nm, then it means I am supposed to be able to pack (7/3)^2 transistors in the same area because we're speaking length vs area here.
That math you show has no basis, prob just you confusing area math instead of looking at it at a simplistic way