Karen hangs 6 ferns around her house.
Each fern has x fronds, and each frond has 30 leaves.
The total number of leaves all the ferns have is the product of the number of ferns, the number of fronds per fern, and the number of leaves per frond: 6 * x * 30 = 180x.
We are given that the total number of leaves is 1260, so we can write: 180x = 1260.
Dividing both sides by 180, we get: x = 7.
The value of x is 7.
#### 7
The answer is: 7
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
Karen hangs 6 ferns around her house. Each fern has x fronds, and each frond has 30 leaves. How many leaves do all the ferns have?
If we know the answer to the above question is 1260, what is the value of unknown variable x?

### Answer:
