How do I break the glass to unblock the spots?

You can break the glass by connecting similar colored spots through it. You can also use powerups on the glass to destroy.