You can put this solution on YOUR website! 3x+1 is what is needed. These problems must be read carefully, and they must be written carefully.
Twice the value of three times a number plus one is ambiguous: it may be 2(3x+1) or 2(3x) +1.
One more than 3 times a number is clear.