ZW and YZ are parallel lines, so angle ZYW and angle YWX are the same measurement (they are alternate interior angles). We also know that angle XYW is a right angle, which = 90 degrees. All 3 angles of a triangle add up to 180 degrees, so...
(3x-5) + (2x) + (90) = 180
5x + 85 = 180
5x = 95
X = 19