Answer
$y=x-2\ln(x)+C$
Work Step by Step
$\frac{dy}{dx}=\frac{x-2}{x}$
$\int 1 dy=\int \frac{x-2}{x}dx$
$y=\int1-\frac{2}{x}dx$
$y=x-2\ln (x)$$+C$
You can help us out by revising, improving and updating this answer.
Update this answerAfter you claim an answer you’ll have 24 hours to send in a draft. An editor will review the submission and either publish your submission or provide feedback.