This is diagram shows the triangle exterior angle theorem. Meaning the sum of two opposite side of the triangle is the exterior angle.
So the exterior angle is 105°. That means 5x +2x = 105° now solve for X then plug in your X value to get your angle measurements for B, and A.
For angle C you can do 180 - 105 because that is a supplementary angle