Which one is correct?

Question). X4 = 24

X4 / 24 = 1

Or

X4 - 24 = 0

It looks basic I know but It kinda confusing for me !

And how to solve this..