Let x be the number of Deluxe staterooms on cruise Pacific paradise.

 

Then the number of deluxe staterooms on Carribean paradise will be x+28

 

The number of deluxe staterooms in Mediterrarean Paradise will be 3x-31

 

Since the total number of deluxe staterooms is 512,

 

 x+x+28+3x-31= 512

 

Solving for x . 5x=515

          Or x=103

 

Number of rooms on Pacific Paradise= 103

                               Carribean Paradise=131

 

                               Mediterrarean Paradise= 278