With that thermostat the blue B wire would be a C for Nest.The black
W2/X2 would be an E wire in most cases - used for emergency heat. Best
to find the wire at your air handler and see what it is connected to.
Most times it goes to the same place as ...