D W, is the charge times the potential difference, which is V A minus V B. This work can be positive, if the charge is positive, it can be negative if the charge is negative, because we have assumed that this is positive, in this case. 