If y = x + 6β(x + 4), then
y' = 1 + 3/β(x + 4)
Substituting y and y' into the DE gives
(y - x) y' = (x + 6β(x + 4) - x) (1 + 3/β(x + 4))
β¦ = 6β(x + 4) (1 + 3/β(x + 4))
β¦ = 6β(x + 4) + 18
on the left side, while on the right you get
y - x + 18 = x + 6β(x + 4) - x + 18
β¦ = 6β(x + 4) + 18
so both sides match and the given function is indeed a solution to the DE.