math
posted by mandy .
A new cruise ship line has just launched 3 new ships: the Pacific Paradise, the caribbean paradise, and the mediterranean paradise. The carabbean paradise has 19 more deluxe staterooms than the Pacific paradise. The mediterranean paradise has 36 fewer duluxe rooms than twice the number of the deluxe rooms on the pacific paradise. find the number of deluxe rooms for each of the ships if the total number of deluxe rooms for the three ships is 399

Let P = x, then C = x +19 and M = 2x  36
x + (x+19) + (2x36) = 399
Calculate x, then the others.