what is the value of x?

Answer:
70
Step-by-step explanation:
Since these two are same side interior angles, their measures must be supplementary. This means that they must add up to 180 degrees. Therefore:
45+2x-5=180
2x+40=180
2x=140
x=70
Hope this helps!