You can't really trade off square footage vs commute length linearly because there is no objective criterion.
What you can do is prove that Apartment A has fewer square feet than Apartment B and a longer commute so A is dominated by B.
Out of your complete set of apartments you can that there is a small set that dominate all the others. When you are down to that you can make your personal choice from that set.