The angles of a triangle are
(3x - 17), (x + 40) and
(2x – 5)
Find the value of x