Given the figure below, find the values of x and z.
(5x + 54)
(6x + 42).