rotating image

Tried thinking, this is what I came up with: