Determine the value of x in the diagram.
Am i right? Just making sure...

Answer:
yeah. in this case and shape it's rather obvious.
but furthermore the sum of all angles are 360°!
(numberOfAngles * 180 - 360)