Marvell Technology Interview Question

modulo 3 and xor in wave form