After a lot of searching, I bought the wrong bulb to replace my foglight bulb.
The correct bulb for a 2008 335xi coupe is an H8. I bought one on amazon for $8
To install, turn wheel all the way to side you are not replacing. Remove (2) 8mm screws in wheel well. Remove connector by squeezing at bottom of connector and pulling down. Turn bulb and remove. Replace.
Not rocket science. But other internet sources told me to buy a different bulb