to find out the coresponding sides and angles draw 2 triangles that are the same and label them in same ORDER (I did counterclock wise) will help you see better the parts
When rotating a point 90 degrees counterclockwise about the origin our point A(x,y) becomes A'(-y,x). In other words, switch x and y and make y negative