On oscillations of anchored buoys on waves