How would I replace this light bulb in the pic
That whole plastic base pulls directly out. That is a compact fluorescent bulb, be careful not to breathe any powder/dust that comes out of the broken tube(s), not good for you.