e is the point where the line intersects the $x$-axis. To find the $x$-intercept of the line perpendicular to $3x-2y = 6$, we first need to find the slope of the given line.

The given line can be rewritten in slope-intercept form ($y = mx + b$) by solving for $y$:
$3x - 2y = 6$
$-2y = -3x + 6$
$y = \frac{3}{2}x - 3$

The slope of this line is $\frac{3}{2}$. 

To find the slope of the line perpendicular to this line, we use the fact that perpendicular lines have slopes that are negative reciprocals of each other. Therefore, the slope of the perpendicular line is $-\frac{2}{3}$.

We know that the $y$-intercept of the perpendicular line is $X$. Let's denote the $x$-intercept of this line as $x$.

Using the slope-intercept form ($y = mx + b$) with the given slope and $y$-intercept, we can write the equation of the perpendicular line as:
$y = -\frac{2}{3}x + X$

To find the $x$-intercept, we set $y$ to zero and solve for $x$:
$0 = -\frac{2}{3}x + X$
$\frac{2}{3}x = X$
$x = \frac{3}{2}X$

According to the given answer, the $x$-intercept is 3. Therefore, we can set $\frac{3}{2}X = 3$ and solve for $X$:
$\frac{3}{2}X = 3$
$X = \frac{3}{\frac{3}{2}}$
$X = 2$

The value of the unknown variable $x$ is 2.
The answer is: 2
Below is a math problem. Provide a detailed, step-by-step solution.

### Problem:
What is the $x$-intercept of the line perpendicular to the line defined by $3x-2y = 6$ and whose $y$-intercept is X? The answer is 3. What is the value of unknown variable X?

### Answer:
