Ответ:

1. Integrate term by term: ∫3 dx - ∫x dx.
2. Apply constant and power rules: 3x - x²/2 + C.