Underwater weddings incorporated offers 2 types of packages: backyard swimming pool and crystal blue caribbean. last weekend, the company performed 5 marriages in swimming pools and 2 in the caribbean. if the company took in a total of $55000, and the swimming pool weddings cost $10000 less than the caribbean weddings, how much did each type of wedding cost?

Let's say the cost of the Caribbean weddings is x dollars.

The cost of swimming pool weddings is x-10000 dollars.
The total cost of weddings is 2x + 5(x-10000) = $55000
Combining like terms, we get 2x + 5x - 50000 = 55000
Combining like terms further, we get 7x - 50000 = 55000
Adding 50000 to both sides, we get 7x = 105000
Dividing both sides by 7, we get x = 15000
Therefore, the cost of Caribbean weddings is $15000
The cost of swimming pool weddings is 15000-10000 = $<<15000-10000=5000>>5000. Answer: \boxed{5000}.