O = 16 because of the vertical angles rule. The degrees on a straight line is 180 degrees. That means that because AB is a straight line, 2y + O + 90 = 180. We also know that CD are straight, so O + 4x +90 = 180.
Now we solve for x and y:
2y + O + 90 = 180
2y + 106= 180
2y = 74
y = 37
O + 4x +90 = 180
16 + 4x +90 = 190
4x + 106 = 180
4x = 74
x = 18.5
I hope this helps, I'm not entirely sure if it's right, you may want to try to check!