find the value of x is the solution 3x+4=5x-24