Pls help two geometry questions attached.

B and D
under a counterclockwise rotation about the origin of 270°
a point (x, y ) → (y, - x )
A(5, 4 ) → A'(4, - 5 )
B(6, 9 ) → B'(9, - 6 )
C(2, 8 ) → C'(8, - 2 )
These points correspond to the coordinates in the diagram → B
under a counterclockwise rotation about the origin of 90°
a point (x, y ) → (- y, x )
A(- 1, 2 ) → A'(- 2, - 1 )
B(-1, 5 ) → B'(- 5, - 1 )
C(- 3, 5 ) → C'(- 5, - 3 )
D(- 3, 2 ) → D'(- 2, - 3 )
These points correspond to the coordinates in the diagram → D