I assume you are looking for the particular solution of y' = 1/x2y, given that x = 1, y = 2.
Use separation of variables to obtain
yy' = 1/x2
Take the integral of both sides to obtain
f(y) = g(x) + C
Then, substitute x =1, y = 2 to determine the value of C.