Help with cameras and layers

I have 2 different cameras, both are displayed in the same viewport but I want one to only show entities with the layer of world, and the other camera to show entities with another layer that I just made. I called it “inverse” and the entities that belong to that layer are supposed to be displayed by one camera, but both of 2 cameras are displaying the same entities. The second camera only has the inverse layer, it doesn’t have anything else. and the entities that I want to display in that camera only have inverse layer.