Consider the mileage on the cars. Also narrow your options down to 3 and get them inspected if not CPO. A warranty is a must for all these cars as fixing it will be extremely expensive. If i were you, i would definitely keep in mind the insurance premiums, gas, family size, practicality. For me, being a student i would choose the 335i over all of them mainly because its just so much more of a drivers car.
After I drove my dads 2012 x5, i couldn't see myself driving anything else except a bmw. If you were a passenger, then the MB or even Audi would suit you better.
2007 E90 328i - Titanium Metallic l 19" VMR V710 l H&R Trak+ Spacers l M-Sport Rear Bumper l Mtech Rear Lip Spoiler l Hamann Front Lip l Eibach Sportline l AA N52 Signature Exhaust l OEM Blacklines l MTEC V3 AE l 6000K HID l Nokya 7000K Fogs l MTEC License Plate LED l Interior LED l 15% Tint l BlackVue DR380G-HD + PMP