How was Queen Mary May of Teck related to Kaiser Wilhelm?

Queen Mary of Teck was the great grandchild of George III, through her mother, Mary Adelaide of Cambridge.

Kaiser Wilhelm II was the great great grandchild of George III, through his mother Victoria, Princess Royal.

This would make them second cousins, once removed.