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 Wong's, how much did each type of wedding cost?

Let X be the cost of the wedding in the Caribbean.

The cost of the swimming pool wedding is X - $10000.
There were 5 swimming pool weddings performed, so the total cost of swimming pool weddings is 5 * (X - $10000).
There were 2 Caribbean weddings performed, so the total cost of Caribbean weddings is 2X.
The total cost of all weddings is 5 * (X - $10000) + 2X = $55000.
5X - $50000 + 2X = $55000.
7X = $105000.
X = $15000.
The cost of the wedding in the Caribbean is $15000.
The cost of the swimming pool wedding is $15000 - $10000 = $5000. Answer: \boxed{5000}.