Having lived in multiple european cities with decent to good public transport, a 40 minute car commute almost always means you live outside the city. In that case, your public transport experience will just suffer a lot (public transport is more efficient with higher densities of living).
Being outside the city you'll have fewer vectors with less frequency (more than 30mins in between), which will get you in the city somewhere, and from that you'll take city-local public transport to your final destination.
I'd say in this case the 40 min car commute turns into 1h 20, with some luck too.