What color marbles are in the boxes?
take a marble out of the box marked BW, whatever color you get means there are two of that color in the box(since it is marked incorrectly). That will also tell you which box is two of the other color (the color the marble you pick isn’t) since it has to be marked incorrectly. That leaves the 3rd box as the one that actually has one of each.