If the sum of the coefficients in the n-th expansion of (3x-1 / x) is 128, what is n equal to

If the sum of the coefficients in the n-th expansion of (3x-1 / x) is 128, what is n equal to

The question is the sum of the coefficients, which is related to the coefficients and has nothing to do with the unknown quantity X
So let x = 1
Then the sum of the coefficients is (3 * 1-1 / 1) ^ n
So (3 * 1-1 / 1) ^ n = 128
n=7