The first looks like a benzylic acid rearrangement.
Could you please draw the curved arrows showing the formation of the product you are suggesting for the second reaction?
Your suggestion to the first one is most likely the right answer.
For the second one I reconsidered my original thoughts, feeling that it's quite unreasonable for it to go a Darzens mechanism. And maybe I bethought myself too deeper than the problem's intention, for I noticed this reaction might be just a simple SN2...
So, could you please tell me whether the SN2 mechanism giving an ether is reasonable?