How do you solve 3x+1=1/2?