The 3 cabins together hold 3 × the average. Let cabin 3 be 1 unit: cabin 1 = 1 unit + 50, cabin 2 = 2 units.
Plain numbers are given; italic underlined numbers are worked out.
There are 260 passengers in the second cabin.
Check: 130 (3rd) + 180 (1st) + 260 (2nd) = 570; 570 ÷ 3 = 190. ✓