How to solve the seperable differential equation and when using the following initial condition: y(1)=2 ?

enter image source here