Solve for x: 3x + 20 and 2x + 24

Nothing to solve for. There's no equation.

Now, if you meant

3x+20 = 0, then
3x = -20
x = -20/3