So the Gray code of 1011 here is converted to binary 1101. You can check your work with the online Gray code to Binary converter tool (make sure to change the input number basis to 2 for binary).
Let's get to the reason you're here... the ladder logic. An XOR gate is implemented like this in ladder logic.