Use the theorems of parallel lines to solve for x in the following.
The angles are equal
7x+24 =x^2 + 5x
x^2 -2x -24 = 0
(x-6)(x+4) = 0
x = 6