I am going to explain how to do this. Factor by grouping. Your last number should have factors that add to the middle number. -24 times 2 multiplies to 48 and adds to 22. Then do x^2-24x+2x-48. Then x(x-24)+2(x-24). The inside terms are the same so put (x-24)(x+2). I got x+2 because these were outside the parantheses. Your answer would be (x-24)(x+2)
Hope this helped you!!