The vector (red) has length , and makes an angle of with the -axis.

The vector (blue) has length , and makes an angle of with the -axis.
 


Find the matrix which rotates and dilates vector into vector :