9. (8%) Solve
$\frac{d^2y}{dx^2} + y = x + \sec x.$