Which equation can be used to solve for the value of x in the diagram?
x + 40 + 115 = 180
40 + x = 115
x + 40 = 90
x = 40
