Bradford T. answered 09/24/21
Retired Engineer / Upper level math instructor
Rewrite
y'+y/(x-2)= (x2-19)/(x-2) = y'(x)+p(x)y=q(x)
Find integration factor:
IF = e∫dx/(x-2)=eln(x-2)=x-2
Multiply thru by the IF
(x-2)y' +y = x2-19
((x-2)y)' = x2-19
Integrate both sides
(x-2)y = x3/3-19x+C
y = (x3/3-19x+C)/(x-2)