Final answer:
The independent variable is x and the dependent variable is h(x).
Step-by-step explanation:
The independent variable in the equation h(x) = 3x - 2 is x, which is the input variable that you can choose any value for. The dependent variable is h(x), which is the output variable that depends on the value of x.
In this case, h(x) represents the height of a variable, which is determined by multiplying the value of x by 3 and then subtracting 2.