Oxirane and ring opening

I have a problem given as :- ![enter image description here](https://i.stack.imgur.com/niUQZ.jpg) I thought of a sn1 type mechanism in acidic medium and a sn2 pathway in basic medium . Am I correct or not . Please also check the mechanism according to which I formed the answer for acidic conditions......![enter image description here](https://i.stack.imgur.com/Ih0Ml.jpg) help would be appreciated and thanks in advance 


