We could draw an imaginary line from D in a straight line till it meets line segment AB and mark the point as Q.Since we know that the sum of the 2 interior opposite angles is equal to the opposite exterior angle, so 45 + 50 = angle AQD = 95.Using the same property 35 + 95 = x = 130.