Hi there!

We can solve for x knowing that the sum of interior angles in a triangle is 180°.
The square at the bottom indicates a right angle, or 90°. Therefore:
180 = 90 + x + (x + 10)
Combine like terms:
180 = 100 + 2x
Subtract 100 from both sides:
180 - 100 = 2x
80 = 2x
Divide both sides by 2:
x = 40.
The fromula of a slope:

a) (-1, -8), (-7, -4)
substitute

b) (2.1, 3.8), (3.1, 7.6)
substitute
