9x-5x=24 :x=5
steps
9x-5x=24
add similar elements 9x-5x=4x
dive both sides by 4
4x/4=24/4
simplify
x=6