It's a tricky one! The key is to get the black ghost to the right side of the room, which will require the white ghost to flip the bottom right lever.
Once the black ghost is on the right side of the room, he can stand on the button to open the white door and let the white ghost in :)



