I just built a box for 2 SA12s that is 38x14x21.
With your dimensions 2 12s will work fine and be better able to handle that kind of power.
I’d suggest mocking up a box of those dimensions in cardboard to make sure it’ll fit through the trunk opening before committing to a design.