The measures of two angles are represented by the expressions (5x + 24)° and (9x − 17)°. If the two angles are equal, what is the value of x?