x-(x-1/2)=1-(3-x/3)

x-(x-1/2)=1-(3-x/3)

x = 15/2

If, however, you display the usual carelessness with parentheses,

x-((x-1)/2)=1-((3-x)/3)
x = -3