In Relative Addressing Mode EA is calculated=Operand Address+PC value
PC points to next instruction.
Here it is 2 word instruction
Address of word=W
So, next instruction to be executed in W+2
Adress field of instruction Y is M[Y]
So, relative address will be =(W+2)+M[Y]