From 2017 - so a little old now, but pre-Covid, so a useful baseline
This chart shows the level of investment in rail infrastructure per citizen in European countries in 2017.
www.statista.com
Puts the UK in a fairly favourable position.
Well, motoring pollution is covered by the tax system in the way vehicles are taxed, the tax levied on fuel - an inefficient vehicle consumes more fuel ergo pays more tax. Unlike the rail industry which uses red diesel and therefore contributes nothing.
Policing costs - since policing is a general service which covers more than just roads policing it's difficult to separate for example roads policing is interlinked with things like tracking and capturing County Lines drug gangs.
Police spending in total is about £ 19bn.
Road fund licence raises about £ 7bn, fuel duty from motoring raises a further £ 28bn - so that's £ 35bn.
There are other taxes which motorists are paying as well - e.g. VAT on sales and servicing - all of that adds up.