An Easy Function Judgement

Y=X,X<1
Y=3X-11,X>=10
Y=2X-1,X>=1 & X<10