Y = 2 over 3x - 1

In order of operations division/multiplication comes before addition/subtraction

Therefore what you wrote is
y = 2/(3x) - 1

Otherwise write:
2/ (3x-1)
or maybe
(2/3) x - 1
or perhaps
(2/3)(x-1)
They are all different