I am not 100% sure that this is the way to solve it. However, the sums of all 3 sides of a triangle must equal 180 degrees. Since we know 1 angle is 135 degrees, we know the rest of the angles must equal 45 degrees. Take 45/5 and you get 9. So x = 9. As I said, not 100% sure. Hope this helps!