The angles are determined by a line that crosses two parallel lines.
Looking at the diagram
The angle "6x+10" is a corresponding angle with the vertical oposite angle of "7x-5"
This means that both angles are equal. So that the equation that could be used to solve x is:
Since both angles are equal.