3 out of 8 bits differ between A and B. Each differing bit position becomes a 1 in the result.
XOR is self-inverse: XORing any value with itself gives 0, and XORing with 0 leaves it unchanged. So (A XOR B) XOR B = A (49 XOR 13 XOR 13 = 60).
In one-time-pad encryption, a plaintext byte (60) XORed with a key byte (13) produces ciphertext (49). XORing the ciphertext with the same key recovers the original.
Next stepTo recover A from the XOR result, XOR it again with B: 49 XOR 13 = 60.