This is a question given in our exam. 
In the reaction,
[![enter image description here][1]][1]


  [1]: https://i.sstatic.net/ut3dU.png
Find the reagents X and Y required for steps(ii) and (iii) are _______ and ________ respectively.
I have tried in this way but I have stuck in second step. The given compound reacts with PhCO3H to form an epoxide. 
Am i correct? Then please help me continue the reaction.