This equation is homogeneous in \( x \) and \( y \) (the right-hand side depends only on the ratio \( y/x \)), so it can be solved by the standard homogeneous-equation substitution instead of the integrating-factor method.
Step 1: Substitute \( y = vx \).
Then \( \dfrac{dy}{dx} = v + x\dfrac{dv}{dx} \). The equation \( \dfrac{dy}{dx} = \dfrac{x+y}{x} = 1 + \dfrac{y}{x} \) becomes \( v + x\dfrac{dv}{dx} = 1 + v \).
Step 2: Simplify and separate variables.
The \( v \) terms cancel, leaving \( x\dfrac{dv}{dx} = 1 \), so \( dv = \dfrac{dx}{x} \).
Step 3: Integrate both sides.
\( \int dv = \int \dfrac{dx}{x} \) gives \( v = \ln x + C \).
Step 4: Substitute back \( v = y/x \).
This gives \( \dfrac{y}{x} = \ln x + C \), so \( y = x\ln x + Cx \).
Step 5: Apply the initial condition \( y(1) = 1 \).
At \( x = 1 \): \( 1 = 1\cdot(\ln 1 + C) = C \), since \( \ln 1 = 0 \), so \( C = 1 \).
Substituting back gives \( y = x\ln x + x \).
Therefore, the correct answer is \( y = x\ln x + x \).