What is the solution?

Solve -507*x = -1223*x + 34368 for x.
48