How many degrees would this octagon need to be rotated clockwise around its center to get point K to point G

In the image below you can observe that we have to rotate four times.
Where each rotation is 45 degrees. So,
[tex]45\times4=180[/tex]