Need help with this counterclockwise rotation

Answer: [tex](-2,1)[/tex]
Step-by-step explanation:
It is important to remember that a rotation is a transformation in which the shapes and sizes do not change, but the object can be turned in different directions.
By definition, the rule for 180° counterclockwise rotation is this:
[tex](x,y)[/tex]→ [tex](-x,-y)[/tex]
Therefore, we know that the image of the point [tex]P=(2,-1)[/tex] under a 180° counterclockwise rotation is:
[tex](2,-1)[/tex]→ [tex](-2,1)[/tex]