The following interactive has the translation and scaling the other way around. Use this one to transform the blue arrow to the red arrow. The order in which the operations happen makes a difference!