Respuesta :

I'm too late but here ya go anyway :)

x = 180 - (31 + 40) is the answer.