Answer:
x = 20
y = 110
Explanation:
5x + 45 + 3x - 25 = 180
those angles are supplementary (they make a straight angle in segment CD)
Solving that you get:
8x + 20 = 180
8x = 160
x = 20
Evaluating:
5(20) + 45 = 145
3(20) - 25 = 35
2(20) - 5 = 35
Now in segment AB:
y + (2x - 5) + (3x - 25) also sum 180, because they form a straight angle
y + 35 + 35 = 180
y = 110