∠AEB and ∠DEC are vertical angles because they are opposite each other; they are also equal because of this. We can write an equation to model the situation:
∠AEB = ∠DEC
50° = x° + 15°
x = 35
∠AEB and ∠AED are supplementary because the form a line; this means they add up to 180°