def METHOD_NAME(self, background: np.ndarray, foreground: np.ndarray,
                x: int, y: int):
    """Paste the foreground on the background."""
    fore_size = foreground.shape
    background[y:y + fore_size[0], x:x + fore_size[1]] = foreground
    return background