How to calculate X-8 of x = 270?

How to calculate X-8 of x = 270?

x/x-8=270
Move X-8 to the right x = 270 * (X-8)
x=270x-2160
2160=269x
X = 2160 / 269