For this case we have:

Subtracting 5 from both sides of the inequality:

Dividing between 3 on both sides:

The solution is given by all values of strict x greater than -2.
On the other hand we have:

Adding 7 to both sides:

Dividing between 2 on both sides:

We multiply by -1 on both sides taking into account that the sense of inequality changes:

The solution is given by all values of x less strict to 6.
Finally the solution is:
(-∞, 6) U (-2, ∞)
ANswer:
(-∞, 6) U (-2, ∞)