plot y=sin(x**2-1) and y=2x and y=2*(x-1)