If x/y=1/3and x+2y=10, then x is