F'=(8,7)
G'=(1,1)
H'=(4,8)
**tips: 270 counterclockwise=90 clockwise
if the question is 90 or 270 (counter)clockwise, just exchange the original x and y coordinates and check which area the point is changed to then apply the right sign (+/-) to the coordinates, and if the question is 180 (counter)clockwise, no need to exchange the original coordinates, just check the sign is alright :)
P.S. i hope you could understand what i m saying, cuz i m not a native english speaker so my english may not be good, sorry for that :p