Don't forget to factor in your time/cost of commuting. Just the car expenses at an IRS rate of .56 cents a mile for Job 1 is $3,225.60 per year (add your bus fair yearly to this). And that's just hard cost, let alone your hour each way lost. If you value your time at your hourly wage of ~$24.52 (for job 1), you'r losing $50 worth of time every day as well ($12k a year).

Job 2 would be $1344 for commuting costs (assuming you drive and not bike), and significantly less time loss. At an hourly wage of ~$21.15, you are only losing ~$7.05 worth of time every day (~$1700/year). If you biked obviously your time cost would be higher but you'd save on the hard cost of commuting by car.

Totals

Job 1: 51k - 3225.60 - 12k = $35,774.40 without bus cost

Job 2: 44k - 1344 - 1700 = $40,956

That's not factoring in the higher 401k match of Job 1 though. A quick calc says ~$2550 matched at Job 1, vs just $880 at job 2. With that factored in you can clearly see that commuting (at least in year 1) is not worth it for Job 1 from a purely monetary standpoint.

However it might be worth it if you have a higher probability at advancement and raises at Job 1 than Job 2.

And all of this is not considering the differences in work environment, actual work, etc.

But by the numbers based off data available now (assuming no difference in potential for advancement) Job 2 is the clear winner in my eyes. It's a higher 'effective' take home pay and you have an extra hour and forty minutes every day to spend with your family (or side hustle!)