since we know that the big angle is 166 degrees, we can conclude that the two small angles sum up to 166 degrees.
now, we can make an equation:
x + 15 + x + 17 = 166
2x + 32 = 166
2x = 134
x = 67
hope this helped! please let me know if you are confused about anything i did :)