45, and
2x - 5
make up a straight angle pair.
So, they add up to 180 degrees.
Thus, we can write:
45 + 2x - 5 = 180
Now, we simply solve for x. Shown below:
[tex]\begin{gathered} 45+2x-5=180 \\ 2x+40=180 \\ 2x=180-40 \\ 2x=140 \\ x=\frac{140}{2} \\ x=70 \end{gathered}[/tex]