If (2x+5)∘, 3x∘, (5x+15)∘and 40∘ are four angles of a quadrilateral, find the value of ∠x and hence find the four angles. [2 MARKS]