Answer:
90 clockwise (or counterclockwise) rotation and then a reflection over the axis between the two shape (those two steps go in any order)
Step-by-step explanation:
for this lets mark the innermost point of each shape a (blue or A) and a' (red or B)* and the second point b and b'
here we see that the two shapes are in a position to where they seem reflected over a non-existent third diagonal axis, though this is not the case, we need to bring the shape into a position where it can be transformed to the quadrant of shape B and overlap the shape
so when you have a reflection over a diagonal axis, we can rotate or reflect the shape to a new quadrant, and perform the step thats not the first, so say we made a reflection over the X-axis, the shape is now in the lower half of the graph with shape B, from here we perform our last step wich is to rotate the shape into the quadrant of shape B in a clockwise motion, now a and a' overlap and b and b' overlap, same for c, c',d and d'
(*the ' in this case is called a prime symbol, when used, distinguishes two points or lines on a graph, A' = A prime)