Solve the following equation by first rearranging then factoring

x^{2} = 10x – 24

x = or

x^{2} – 10x + 24 = 0

(x – 4)(x – 6) = 0

x – 4 = 0 and x – 6 = 0

x = 4 and x = 6